简体   繁体   English

将php.exe添加到我的系统变量中

[英]Adding php.exe to my system variables

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. 我使用Windows 8,我已经将php.exe添加到系统路径中,可以从cmd运行它,但是php.exe在不同的窗口中出现。我的问题是如何使php.exe在cmd窗口中打开。 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. 我正在运行cakephp控制台外壳,由于php.exe会立即出现并离开,因此我无法读取错误消息。我是编程的新手,我真诚地需要帮助。

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. MY Computer > System properties (顶部导航栏上的按钮) > Advanced system settings > Environment Variables > (在侧面环境变量窗口中选择) 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 > (现在单击“编辑”后) at the End Paste Your Php Path,Where Php actually Install

Example: C:\\wamp\\bin\\php\\php. Example: C:\\ wamp \\ bin \\ php \\ php。 OR C:\\xampp\\php\\php.exe C:\\ xampp \\ php \\ php.exe

> Now, Press Ok >现在,按Ok

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM