PHP path for wamp
Posted by: KianWilliam (---.sabanet.ir)
Date: December 09, 2017 08:27AM

To whom it may concern:
To be able to download a zend package I got to use php 7 version of my wamp, I want to download it from command prompt in which path environment variable is set to php 5.6, I believe if I add the path to php7 in wamp next to the path to php 5.6, there will not be any problem, right or wrong?
Kian William Nowrouzian

Options: ReplyQuote
Re: PHP path for wamp
Posted by: Otomatic (Moderator)
Date: December 09, 2017 09:35AM

Hi,

Wampserver, either during installation, or after with addons, does absolutely nothing with environment variables.
If, in the environment variables, and mainly in PATH, you add paths to several versions of PHP, it will ALWAYS be the first path that will be taken into account regardless of the version of PHP used.
This is why Wampserver never uses environment variables.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.6 32 bit - Apache 2.4.37 - PHP 7.3.0/7.2.13/7.1.25/7.0.33/5.6.39 - MySQL 5.7.23 - MariaDB 10.3.11
Wampserver 3.1.6 64 bit - Apache 2.4.37 - PHP 7.3.0/7.2.13/7.1.25/7.0.33/5.6.39 - MySQL 5.7.23 - MariaDB 10.3.11
PhPMyadmin 4.8.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: PHP path for wamp
Posted by: KianWilliam (---.sabanet.ir)
Date: December 09, 2017 11:54AM

Sure enviroment vars are os related and have no connection with wamp, your response is complete and I thank you for that.
I will down load the package from browser instead of command prompt
Kian William

Options: ReplyQuote


Sorry, only registered users may post in this forum.