问题
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