PATH environment variable error
Posted by: papijo (---.w81-53.abo.wanadoo.fr)
Date: August 15, 2023 02:44PM

In order to run behat tests on my localhost machine I need to install Composer. For Composer to work it requires me to declare my PHP installation in the Windows environment variable PATH.
All works OK, except that I get this error notice in WAMPSERVER
-------
Warning: There is Wampserver path (c:/wamp64)
into Windows PATH environnement variable: (C:\wamp64\bin\php\php8.1.13)
Warning: It seems that a PHP installation is declared in the environment variable PATH
C:\wamp64\bin\php\php8.1.13
Wampserver does not use, modify or require the PATH environment variable.
Using a PATH on Wampserver or PHP version
may be detrimental to the proper functioning of Wampserver.
------
Is there anything I should do?

Options: ReplyQuote
Re: PATH environment variable error
Posted by: Otomatic (Moderator)
Date: August 15, 2023 02:47PM

See Item 8 of Wampserver 3 - Some Explanations

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: PATH environment variable error
Posted by: RiggsFolly (Moderator)
Date: August 15, 2023 03:17PM

A suggestion for you that I wrote in another place

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: PATH environment variable error
Posted by: papijo (---.w81-53.abo.wanadoo.fr)
Date: August 15, 2023 03:49PM

Thanks to you both for fast replies! I suppose that if I still want to keep that php path in my Windows environment variables It's still OK? It does work, I only get the error reminder.

Options: ReplyQuote
Re: PATH environment variable error
Posted by: Otomatic (Moderator)
Date: August 15, 2023 04:31PM

Right-Click -> Wamp Settings -> Caution: Risky! Only for experts -> Do not verify PATH

But... At your own risk!

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: PATH environment variable error
Posted by: papijo (---.w81-53.abo.wanadoo.fr)
Date: August 15, 2023 07:15PM

Right-Click -> Wamp Settings -> Caution: Risky! Only for experts -> Do not verify PATH

I've done that (alghough I'm far from being an expert)!!!

Options: ReplyQuote
Re: PATH environment variable error
Posted by: papijo (---.w2-10.abo.wanadoo.fr)
Date: March 04, 2024 05:43PM

WampServer version 3.3.3 No longer displays the error and the "Do not verify PATH" seems to have disappeared from the WampSettings. That's fine!

Options: ReplyQuote


Sorry, only registered users may post in this forum.