dimanche 6 mars 2016

How to install PDO on Apache2 PHP7

I am running Ubuntu 14.04.3 with PHP 7.0.4-1+deb.sury.org~trusty+1 and Apache/2.4.7.

PHP7 works fine with Apache, but I didn't find any way to add mysql and sqlite PDO drivers.

So far phpinfo() tells:

PDO drivers      no value

a2enmod doesn't work:

$ a2enmod php_pdo_mysql
ERROR: Module php_pdo_mysql does not exist!

Aucun commentaire:

Enregistrer un commentaire