Hi,
It's not a performance thing. Having a version of PHP on the Windows PATH has
ABSOLUTELY no effect on performance, specially not the performance of the web server/PHP as that never makes reference to the Windows PATH anyway.
The reason for NOT placing ANY of the possible versions of PHP available within a WAMPServer installation on to the Windows PATH is simply
flexibility.
- If you place one of the PHP versions on the PATH then you are limited to that version when using the CLI.
- You will forget that you did that, when it comes to trying another version of PHP and that causes confusion.
See
this on StackOverflow, an example of what I use It is a simple .cmd file that I place into a folder that is already on the Windows PATH, so I can run it from anywhere from within a comand window. It also incorporates `composer` and `PEAR` if you use features from those tools as well.
So I just launch a command windows
Run `>phppath` to get my current default version of PHP (whatever I set in the cmd file as the default
Or run `>phppath 7.2.4` to run the CLI with a specific version of PHP. Lets say I want to check a piece of code will run in a newer version of PHP than it was written using.
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.1 32bit & 64bit) Aestan Tray Menu 3.2.5.0
<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 --
phpMyAdminGet 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-