I have RHEL 6.8 and I am installing PHP 7.1.3 from a repository remi-php71. I have installed PHP, but I also needed some extra modules, one of these is php_mysql. The repository remi-php71 provided a package: php-mysqlnd. But no php_mysql. Reading about mysqlnd, I found it right to install php_mysqlnd, instead of 'php_mysql' (which was anyway not available in the repo).
But in spite of having php_mysqlnd installed. I get these apache logs: "Uncaught Zend_Db_Adapter_Exception: The mysql driver is not currently installed in /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php:112.....".
The list of PHP packages I have installed:
- php-cli-7.1.3-1.el6.remi.x86_64
- php-process-7.1.3-1.el6.remi.x86_64
- php-mcrypt-7.1.3-1.el6.remi.x86_64
- php-ZendFramework-Db-Adapter-Pdo-Mysql-1.12.20-1.el6.remi.noarch
- php-common-7.1.3-1.el6.remi.x86_64
- php-7.1.3-1.el6.remi.x86_64
- php-pdo-7.1.3-1.el6.remi.x86_64
- php-xml-7.1.3-1.el6.remi.x86_64
- php-bcmath-7.1.3-1.el6.remi.x86_64
- php-ZendFramework-1.12.20-1.el6.remi.noarch
- php-ZendFramework-Db-Adapter-Pdo-1.12.20-1.el6.remi.noarch
- php-json-7.1.3-1.el6.remi.x86_64
- php-opcache-7.1.3-1.el6.remi.x86_64
- php-pear-1.10.3-1.el6.remi.noarch
- php-mysqlnd-7.1.3-1.el6.remi.x86_64
Can you please point in the right direction? I have seen this, couldn't find it useful in my case.