This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

upgrade to php 5.6
#8
RE: upgrade to php 5.6
Hi!

My solution is:

Uninstall php:


Code:
sudo apt-get -y purge php*


Install php 5.6:


Code:
sudo apt-get update
sudo apt-get install php5.6

Install PDO driver:

Code:
apt-get install php5.6-mysql

Edit php.ini:

Code:
sudo nano /etc/php/5.6/apache2/php.ini

Add:

Code:
extension=pdo.so
extension=pdo_mysql.so

Restart Apache:

Code:
sudo service apache2 restart

Check if PDO modules are installed:

Code:
php -i|grep PDO

The result should be like this:

Code:
PDO
PDO support => enabled
PDO drivers => mysql
PDO Driver for MySQL => enabled

That's all I think.

Best regards.
Reply
Thanks given by:


Messages In This Thread
upgrade to php 5.6 - by claudiobiato - 12-08-2016, 11:53 PM
RE: upgrade to php 5.6 - by Me.B - 01-05-2017, 12:29 AM
RE: upgrade to php 5.6 - by sajun - 01-08-2017, 01:29 PM
RE: upgrade to php 5.6 - by FernandoGarcia - 01-31-2017, 11:20 AM
RE: upgrade to php 5.6 - by worksmarter - 01-31-2017, 07:22 PM
RE: upgrade to php 5.6 - by TGates - 02-01-2017, 03:16 AM
RE: upgrade to php 5.6 - by aroaminggeek - 02-01-2017, 02:04 PM
RE: upgrade to php 5.6 - by FernandoGarcia - 02-01-2017, 08:56 PM
RE: upgrade to php 5.6 - by TGates - 02-02-2017, 02:11 AM
RE: upgrade to php 5.6 - by FernandoGarcia - 02-02-2017, 03:36 AM
RE: upgrade to php 5.6 - by TGates - 02-02-2017, 06:29 AM
RE: upgrade to php 5.6 - by FernandoGarcia - 02-02-2017, 06:35 AM
RE: upgrade to php 5.6 - by TGates - 02-02-2017, 02:13 PM
RE: upgrade to php 5.6 - by akshalikas - 03-13-2017, 12:37 AM
RE: upgrade to php 5.6 - by jstacklin - 04-26-2017, 09:44 AM
RE: upgrade to php 5.6 - by Ron-e - 05-05-2017, 12:04 AM
RE: upgrade to php 5.6 - by worksmarter - 05-05-2017, 02:57 PM
RE: upgrade to php 5.6 - by FernandoGarcia - 05-06-2017, 01:10 AM
RE: upgrade to php 5.6 - by Obada - 12-28-2017, 02:39 AM
RE: upgrade to php 5.6 - by worksmarter - 01-17-2018, 01:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
PLEASE HOW DO I UPGRADE FROM 5.1 TO 7.4 franselect 4 16 ,813 04-22-2021, 04:47 PM
Last Post: PromptAttestation
Upgrade Kinda Work - Domain Issues Now ppcseopro 6 25 ,602 04-18-2020, 10:14 AM
Last Post: Jettaman
How to upgrade php and mysql version? davidlambda 4 30 ,326 03-11-2020, 06:16 PM
Last Post: davidlambda

Forum Jump:


Users browsing this thread: 7 Guest(s)