3 Replies - 670 Views - Last Post: 13 September 2011 - 07:11 PM Rate Topic: -----

#1 azizmuda  Icon User is offline

  • New D.I.C Head

Reputation: -4
  • View blog
  • Posts: 33
  • Joined: 14-February 11

How to solved the problem php.exe

Posted 12 September 2011 - 08:36 PM

how to resolve this problem.
my include path C:\wamp\bin\php\zend_framework\library

but if i running in cmd.the errors display like this '"php.exe"' is not recognized as an internal or external command,operable program or batch file.

Thank you for your advanced :)

This post has been edited by azizmuda: 12 September 2011 - 08:36 PM


Is This A Good Question/Topic? 0
  • +

Replies To: How to solved the problem php.exe

#2 Valek  Icon User is offline

  • The Real Skynet
  • member icon

Reputation: 542
  • View blog
  • Posts: 1,713
  • Joined: 08-November 08

Re: How to solved the problem php.exe

Posted 12 September 2011 - 10:59 PM

Is the path to your PHP binary included in the PATH environment variable in Windows?

This post has been edited by Valek: 12 September 2011 - 10:59 PM

Was This Post Helpful? 0
  • +
  • -

#3 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1003
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: How to solved the problem php.exe

Posted 13 September 2011 - 02:02 AM

Like Valek said, you need to do 1 of 2 things:
1; Go to the path of PHP (Usually C:\Program Files (x86)\PHP\) and open php.exe from there.
2; Update your PATH environment variable to contain the path to PHP. You can do this via Control Panel -> System -> Advanced System Settings -> Environment Variables. Under System Variables, find PATH, and add your PHP path to the end/beginning of it, separated via a semi-colon.

My PATH is, for example:
C:\Program Files (x86)\PHP\;%SystemRoot%\system32;%SystemRoot%;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Zune\

This post has been edited by RudiVisser: 13 September 2011 - 02:03 AM

Was This Post Helpful? 0
  • +
  • -

#4 azizmuda  Icon User is offline

  • New D.I.C Head

Reputation: -4
  • View blog
  • Posts: 33
  • Joined: 14-February 11

Re: How to solved the problem php.exe

Posted 13 September 2011 - 07:11 PM

tq so much.done!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1