wamp3.13版本下的php变量问题

sorry
there is an error.
there is wampserver path(f:/wamp)
into Windows path environnement varible:(f:\wamp\bin\php7.2.4)
it seems that a PHP installation is declared in the environment variable path
wampserver does not use, modify or require the path environment variable.
using a path on wampserver or PHP version
is detrimental to the proper functioning of wampserver.

//下面译城中文
对不起的
有一个错误。
有WAMP服务器路径(f:/WAMP)
进入Windows路径环境变量:(f:\WAMP \bin \PHP7.2.4)
它似乎是一个PHP的安装是在环境变量PATH声明
WampServer不使用、修改或需要PATH环境变量。
在WAMServer或PHP版本上使用路径
不利于WAMPServer的正常运行。

请高手指教一下,如何解决问题

删除环境变量中的PHP路径,退出wampserver再打开就可以了。

Hi,

Using paths on Wampserver's PHP or MySQL versions in the PATH environment variable is strongly discouraged or even prohibited.
Wampserver does not create any paths on PHP or MySQL versions. Wampserver does not use the paths declared in the PATH environment variable.
Using a path on Wampserver or on a version of PHP or MySQL is detrimental to the proper functioning of Wampserver and - for sure - will create problems for you in the future.
Using the PATH to launch applications is a survivorship of the past and it will cause you big problems if you change versions of PHP.
There is absolutely NO NEED to add anything into the Windows PATH because that will ALWAYS just cause you issues later when you change versions of either PHP or MySQL.

This was not checked in versions before version 3.0.3. It is now verified following the problems encountered by users when they wanted to change version PHP or MySQL. For example with a PATH on PHP version 5.6.34 makes that when we change version, for example PHP 7.2.0, this new version will use the php.ini of the PATH version, i.e. 5.6.34, so multiple errors and a non functioning of PHP.
This is because, by default, PHP or MySQL look for their configuration file (php.ini or my.ini) first in the PATH paths before looking in their own installation paths.

参考

温馨提示:答案为网友推荐,仅供参考
第1个回答  2018-10-31
各位这么解决的
第2个回答  2018-09-19
我也遇到了这个问题,楼主解决了吗
第3个回答  2018-08-14
卸载掉,换phpstudy吧,这个更好用.

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网