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.

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: Logo

You are commenting using your 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.