如何为PHP设置env变量? [英] How to set the env variable for PHP?
本文介绍了如何为PHP设置env变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用WAMP.我想从命令提示符下使用php. PATH env变量中为此输入的内容是什么?
I am using WAMP. I want to use php from the command prompt. What is the entry in PATH env variable for this ?
推荐答案
您需要将WAMP
安装中具有php.exe
的目录放入PATH
中.通常类似于C:\wamp\xampp\php
You need to put the directory that has php.exe
in you WAMP
installation into your PATH
. It is usually something like C:\wamp\xampp\php
这篇关于如何为PHP设置env变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文