Setting up cakephp was just easy, i have it up and running already, but after i have started developing an app on it with the example provided i have encountered an error. What should i do?..
This also what i have encoutered. so let me do it to you step by step
1. Extract cakephp on your root-directory. I'll be preserving the names of the folder here.
so our file structure would be:
"root-directory/2. You should also add the php and bake executable to your environment variable. To do this,"
- -cake
- index,php
- .htaccess
- cake
- app
- cake
- docs
- vendors
1. go to the Windows System Properties dialog, then select the Advanced tab, and click on Environment Variables.
2. On the System variables list. Select Path then edit.
3. Type in the directory for your php.exe and cake console. as in my case it will be
"c:/xampp/php/" for my php.exe.
"c:/xampp/htdocs/cake/cake/console" for my cake console.
3. To be able to use .htaccess for cake pretty urls open your httpd.conf and uncomment the line which says
LoadModule rewrite_module modules/mod_rewrite.so