Jump to content

cant get php in the path in windows


Recommended Posts

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\;

 

 

Link to comment
https://forums.phpfreaks.com/topic/289040-cant-get-php-in-the-path-in-windows/
Share on other sites

"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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.