I am getting error in wamp for PHP in path

浪尽此生 提交于 2019-12-05 20:08:15

问题


My wamp server icon is currently orange, which means only 2 out of 3 servers are running. I can not open my phpmyadmin page because it gives 404 not found error. if I right click on my wamp icon at the bottom I get an error saying Error: C:/wamp64 or PHP in PATH. If I click on this error then a command prompt window appear saying this:-

Sorry,

There is an error.

There is Wampserver path (c:/wamp64)
into Windows PATH environnement variable: (C:\wamp64\bin\php\php7.2.4)

It seems that a PHP installation is declared in the environment variable 
PATH
C:\wamp64\bin\php\php7.2.4

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.


Press ENTER to continue...

回答1:


To repress this error notification: right-click on System Tray wampserver icon and hover on "Wamp Settings" >> select "Do not verify PATH"




回答2:


As indicated, you do not need a path on a PHP version in the Windows PATH environment variable.

  • Control Panel
  • System
  • Advanced system settings
  • Environment Variables button
  • System variables
  • Select PATH
  • Modify Select C:\wamp64\bin\php\php7.2.4
  • Press OK


来源:https://stackoverflow.com/questions/52463287/i-am-getting-error-in-wamp-for-php-in-path

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!