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.