Dynamic PHP (CLI) Executable depend on current enabled version
Posted by: hieblmedia (---.dynamic.kabel-deutschland.de)
Date: December 05, 2015 12:37AM

Hello,
i have created a dynamic PHP executable to solve changing the environment variable "PATH" after switch the PHP version.

You can find the dynamic php.bat here: [gist.github.com]

Install:
1. Copy the php.bat to [WAMPSERVERPATH\bin\php]
2. Add to the environment variable PATH ";WAMPSERVERPATH\bin\php" (if exists remove your old php path)
3. Now you can run php from commend-line always global with the current wampserver php version.

Have fun!
Reinhard



Edited 1 time(s). Last edit at 12/05/2015 12:38AM by hieblmedia.

Options: ReplyQuote


Sorry, only registered users may post in this forum.