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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.