Anyway, my big problem is this....
I need to configure a site for CakePHP development. So I created a directory in /Applications/xampp/xamppfiles/htdocs/ and copied the required CakePHP files into this directory. Then I wanted to add a virtual host so I uncommented the line "# Virtual hosts
Include /Applications/xampp/etc/extra/httpd-vhosts.conf" in httpd.conf and then added the following vhost configuration to httpd-vhosts.conf so that it now looks like this...
- Code: Select all
# Virtual Hosts
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
# Please see the documentation at
# for further details before you try to setup virtual hosts.
# You may use the command line option '-S' to verify your virtual host
# Use name-based virtual hosting.
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
Options Indexes FollowSymLinks
The problem is this...now that I have restarted everything in /Applications/xampp/xamppfiles/htdocs/ is now considered part of the CakePHP application. So if I got to http://127.0.0.1/xampp/index.php I get an error from CakePHP saying that there is no xampp controller.
One thing that I think might be a problem is that many of the guides for installing cakephp tell you to make changes to /etc/hosts so that there is an setting for test_app. This file normally lives in /private/etc/ in os x 10.5.6 but I don't know what to change since I am using XAMPP.
Oh and I am having one more problem...in the XAMPP control page I can see that MySQL is deactivated. I used the gui program to start it and it says it is starting it and then doesn't say anything else. I tryed to manually start it using mampp start and it says it started and no errors are displayed. I tried to open phpMyAdmin and it says "#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)"
Does anyone have any suggestions?