WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: ukp890 (---.141.118.118.static-Ahemdabad.vsnl.net.in)
Date: May 04, 2019 08:16AM

Hello,

I am using wamp server 3.1.4 64 bit, current PHP version 7.2.10, i am upgrading PHP version to 7.2.17.


I downloaded PHP version 7.2.17 extract it and put folder to

C:\wamp64\bin\php\

Copy wampserver.conf from old php version 7.2.10 directory to 7.2.17 directory

Copy php.ini,phpForApache.ini from old php version 7.2.10 directory to 7.2.17 directory
and update php.ini and phpForApache.ini to set path for php7.2.17.

after that i restarted wamp server, latest php vesrion 7.2.17 is not showing in Greentray->php->version .

it only shows older versions only.

can anyone help me with this ?

Options: ReplyQuote
Re: WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: Otomatic (Moderator)
Date: May 04, 2019 09:21AM

Hi,

WAMPserver 3 - All you need to know

Why make it simple when you can make it complicated!

There are 127 PHP addons from version 5.3.5 to version 7.3.5. Each "addon" is automatically installed with three mouse clicks:
- 1 - Download addon
- 2 - Installation addon
- 3 - Left-click -> PHP -> Version -> new version

Go back and delete all your changes and use the PHP addon 7.2.17.

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

Options: ReplyQuote
Re: WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: ukp890 (124.124.19.---)
Date: May 04, 2019 11:27AM

HA HA, Yes i definitely want to make it complicated

Can't you make any comment on why latest php version 7.2.17 is not showing ?

I used same method (i mentioned above) to upgrade to PHP7.2.17, on UAT SERVER and DR SERVER, and it is working , i dont know what is causing issue on DC SERVER

Options: ReplyQuote
Re: WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: Otomatic (Moderator)
Date: May 04, 2019 02:22PM

Hi,

> Can't you make any comment on why latest php version 7.2.17 is not showing ?

Not showing where ?

PHP 7.2.17 is not the latest PHP version of the branch 7.2, it is PHP 7.2.18

On http://wampserver.aviatechno.net you can see ALL versions by validating "See all available versions" button.

Copying the php.ini and phpForApache.ini files between different versions of PHP is a very bad idea. The evolution of PHP versions means that very often php.ini are not compatible from one version to another.

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

Options: ReplyQuote
Re: WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: ukp890 (---.141.118.118.static-Ahemdabad.vsnl.net.in)
Date: May 06, 2019 07:33AM

NEW PHP7.2.17 version was not shwoing at Green Icon->PHP->Versions. But i uninstall wamp server install it again and add php version 7.2.17 and now it is showing at Green Icon->PHP->Versions.

But now problem is oracle db connection and SSH2 is not working, to make it work I donwload OCI and SSH ddl files from

[windows.php.net]

php_ssh2-1.1.2-7.2-ts-vc15-x64.zip

[windows.php.net]

php_oci8-2.2.0-7.2-ts-vc15-x64.zip

extract the zip and place dll files in php7.2.17/ext/ directory , enable oci8_11g,ssh2 extension in php.ini, and restart wamp server but getting fatal error:

call to undefied function oci_connect and call to undefined function ssh2_connect.

older php version 7.2.10 are using same dll files and both oracle db connection and ssh2 working fine.

Options: ReplyQuote
Re: WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: Otomatic (Moderator)
Date: May 06, 2019 10:51AM

Hi,

Wouldn't you have put a path in the environment variables on Oracle files?

In which case, you probably need to modify it if you change your PHP version.

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

Options: ReplyQuote
Re: WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: ukp890 (---.141.118.118.static-Ahemdabad.vsnl.net.in)
Date: May 07, 2019 08:27AM

Oracle path and php path is already there in environment variables

Options: ReplyQuote
Re: WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: Otomatic (Moderator)
Date: May 07, 2019 09:21AM

Hi,

> php path is already there in environment variables
And it points to which version of PHP?

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

Options: ReplyQuote
Re: WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: ukp890 (124.124.19.---)
Date: May 07, 2019 03:16PM

It points to latest PHP version 7.2.17, and for the same php version Oracle db connection and SFTP is not working

Options: ReplyQuote
Re: WAMP upgrade PHP version from PHP7.2.10 to PHP7.2.17
Posted by: Otomatic (Moderator)
Date: May 07, 2019 06:26PM

Hi,

What do you want me to say to you?
You stay with PHP 7.2.10 and you see with Oracle and PHP for the problem with PHP 7.2.17.

It works with PHP 7.2.10 and when you switch to PHP 7.2.17, it no longer works, but between the two, Wampserver has not changed.

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.