How do I configure php to enable pdo and include mysqli on CentOS?

前端 未结 2 1146
南笙
南笙 2020-12-09 09:24

PHP Version 5.3.3 on CentOS (x86_64, RHEL 6)

Apparently my PHP installation was configured to exclude Mysqli and disable PDO for some reason. Therefore, I believe th

2条回答
  •  一向
    一向 (楼主)
    2020-12-09 10:15

    You might just have to install the packages.

    yum install php-pdo php-mysqli
    

    After they're installed, restart Apache.

    httpd restart
    

    or

    apachectl restart
    

提交回复
热议问题