Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am getting error in wamp for PHP in path

Tags:

php

wamp

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...
like image 290
Epic Avatar asked Sep 23 '18 05:09

Epic


People also ask

Does WampServer install PHP?

WAMP is an acronym that stands for Windows, Apache, MySQL, and PHP. It's a software stack which means installing WAMP installs Apache, MySQL, and PHP on your operating system (Windows in the case of WAMP).

Why WAMP server is used in PHP?

WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage easily your databases.


2 Answers

I meet the same issue. Maybe it's because your port 80 is used by other programs you don't need to add path just change your port 80 -> 8080 check this for detail

https://codebuns.com/wordpress/fix-port-80-conflict-wamp/#:~:text=Right%20click%20WAMP%20icon%20in,A%20command%20prompt%20will%20open.

like image 179
Duch Noun Avatar answered Sep 28 '22 01:09

Duch Noun


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

like image 20
Milson Avatar answered Sep 28 '22 00:09

Milson