Hi!
My solution is:
Uninstall php:
Install php 5.6:
Install PDO driver:
Edit php.ini:
Add:
Restart Apache:
Check if PDO modules are installed:
The result should be like this:
That's all I think.
Best regards.
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.