I use Windows 8,I have added php.exe to system path I can run it from cmd but php.exe comes out in different window.My question is how do I make php.exe open in my cmd window. I am runing cakephp console shell, I can' t read the error message because php.exe comes and leaves immediately.I am a newbie to programming and I sincerely need help.
MY Computer
> System properties
( Button on Top Navigation Bar ) > Advanced system settings
> Environment Variables
> ( In Side Environment Variables Window Select ) The path in the user variables section & click the Edit Button.
> ( Now After Click On Edit ) at the End Paste Your Php Path,Where Php actually Install
Example:
C:\\wamp\\bin\\php\\php. OR C:\\xampp\\php\\php.exe
> Now, Press Ok
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.