making cakephp work with xampp under windows

To make CakePHP work under XAMPP, I extracted the CakePHP zip to my htdocs folder, in the folder named app. But, everytime I wanted to access the http://localhost/app I’d receive the Object not found error message. To fix this, I added the following in my httpd.conf:

<Directory “d:\work\my_sites”>
Order Deny,Allow
Allow from all
Options All
AllowOverride All


DocumentRoot “d:\work\my_sites\app1”
ServerName app1.local

And, of course I moved everything to d:\work\my_sites\app1 as you can see from the settings. To make DNS resolution work, I modified the c:\Windows\System32\drivers\etc\hosts file, and added this: app1.local

After which, I navigated to http://app1.local and everything worked.


1 Response to “making cakephp work with xampp under windows”

  1. May 12, 2011 at 18:48

    I suggest free PHP IDE Codelobster PHP Edition with special CakePHP plug-ins for installation and etc.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog Stats

  • 239,003 hits

%d bloggers like this: