Spiga

Setup CakePHP

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/
  • -cake

    • index,php

    • .htaccess

    • cake

    • app

    • cake

    • docs

    • vendors
"

2. You should also add the php and bake executable to your environment variable. To do this,
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

Glosary

Nothing here yet

Notes of Cakephp Baker

Staying in front of my without a task was really boring. Finishing a day sitting on my chair waiting for my clients to pop in and say hey i've got new task for you. But at i just ended up on just waiting for it and have finished reading my fave anime manga's. ehehe... Im at my third day of not recieving a task from my client although hi paying for me(:grin: well eheheh... its great to just recieve money with having to sweat your a-s off.) but its no fun at all... aaahhhhh

Ok ok ok.. so you are saying now where the heck is cakephp here?? im not here to listen to your woes!!!

Ok so i'll start now... since i also want to learn cake.

Lets prepare first your PC/MAC or whatever you call it.
You must have installed already your webserver having PHP4.x.x or PHP5 and mysql or you can get the whole package from apachefriends.

I'll be using xampp for my webserver running on windows Xp.
I also have my xampp installed at a "C:/xampp" directory and my root directory will be "C:/xampp/htdocs/"
Can i use cake now?... nope were not done preparing yet. we still need to download our cake php.
and extract the content of the file to our root directory.