PHP 5.4.14 (cli)
Posted by: nil2567 (---.dsl.telepac.pt)
Date: April 25, 2016 01:57PM

hello

I have isntalled wamp with php 5.5.12 but if I try php -v from CMD I got PHP 5.4.14 (cli).

how can I fix that ?

Options: ReplyQuote
Re: PHP 5.4.14 (cli)
Posted by: Otomatic (Moderator)
Date: April 25, 2016 02:45PM

Hi,

- 1 - READ BEFORE YOU ASK A QUESTION

- 2 - You have another version of PHP installed in Windows.

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

Options: ReplyQuote
Re: PHP 5.4.14 (cli)
Posted by: nil2567 (---.dsl.telepac.pt)
Date: April 25, 2016 06:44PM

ok, how can I change the version that I have on windows?

Options: ReplyQuote
Re: PHP 5.4.14 (cli)
Posted by: Otomatic (Moderator)
Date: April 25, 2016 06:56PM

Hi,

Uninstall the PHP windows version.

And answer to : READ BEFORE YOU ASK A QUESTION (Second time).

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

Options: ReplyQuote
Re: PHP 5.4.14 (cli)
Posted by: nil2567 (---.dsl.telepac.pt)
Date: April 25, 2016 07:03PM

ok, already have answer.

had to go to variables on windows and pu the path to wamp at the top

Options: ReplyQuote
Re: PHP 5.4.14 (cli)
Posted by: RiggsFolly (Moderator)
Date: April 25, 2016 07:04PM

Thats a bad solution. You shoudl not need or have anything to do with WAMPServer in the Windows PATH

---------------------------------------------------------------------------------------------
(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: PHP 5.4.14 (cli)
Posted by: nil2567 (---.dsl.telepac.pt)
Date: April 25, 2016 07:07PM

the comapiler will call wamp instead of windows php.

if you could tell how can I unistall windows php I would love to do that.

I did not know windows had a php version on it's own.

Thanks

Options: ReplyQuote
Re: PHP 5.4.14 (cli)
Posted by: Otomatic (Moderator)
Date: April 25, 2016 07:36PM

Hi,

There is no PHP version with Windows.
It is a php installed by yourself perhaps with another local server like Easyphp or Xamp.

NEVER write path to WAMPServer PHP version. This can crash Wampserver..

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.