Cakephp console in windows xampp environment

To run Cakephp console in windows environment is little tricky, atleast tricky for new Cakephp developer. A few days ago i did this stuff for Acl, Auth implementation on one of my cakephp project. Let you have installed xampp on Program Files in windows, you want to run Cakephp console for one of your project, follow the following steps –

1. Run command promt
2. Go to php folder which will be like
c:\Programs Files\xampp\php\
3. Run command similar as below to create Acl tables –

C:\Program Files\xampp\php\php.exe C:/"Program Files"/xampp/htdocs/cakepro/cake/console/cake.php schema run create DbAcl

I presumed that you are in php folder and your cake project is on cakepro folder. Hope this will helpful.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

One thought on “Cakephp console in windows xampp environment

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s