jagguy Posted June 7, 2014 Share Posted June 7, 2014 Hi, I am trying to setup cakephp cake console in win7 and run cake bake as in the link below.I set up the env variable in win7 as below with a php and cakeapp entry in this Path.I have easyPHP 12.1 and php works fine. I get an error with php in failing to load. dynamic library but the php dir is in the path below so I have no idea . I cant set my php env var is my problem . The php.ini is in this dir specified below. http://www.nurelm.com/themanual/2012/01/30/running-cakephp-command-line-tools-in-windows/ E:\Program Files\EasyPHP-12.1\php\php546x121019214357\;E:\AA-website design\acl\app\Console\; Quote Link to comment https://forums.phpfreaks.com/topic/289040-cant-get-php-in-the-path-in-windows/ Share on other sites More sharing options...
bsmither Posted June 12, 2014 Share Posted June 12, 2014 "I can't set my php environment variable." I don't run Win7, so however you get to add/edit Environment Variables. There should be a button that says New for System Variables. Click it. In my XP system, the Variable name is PHPRC, and the Variable value would be E:\Program Files\EasyPHP-12.1\php\php546x121019214357 From what little I know of EasyPHP, I would have thought the installer would have made this variable during installation. Quote Link to comment https://forums.phpfreaks.com/topic/289040-cant-get-php-in-the-path-in-windows/#findComment-1482567 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.