(02-01-2017, 08:56 PM)FernandoGarcia Wrote: 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.
Did you recompile suhosin and is it running?