PHP 7 RC3: How to install missing MySQL PDO

后端 未结 12 894
暗喜
暗喜 2020-12-04 11:54

I am trying to setup webserver with PHP 7 RC3 + Nginx on Ubuntu 14.04 (for test purposes).

I installed Ubuntu in Vagrant using

12条回答
  •  悲&欢浪女
    2020-12-04 12:28

    First install php-mysql

    sudo apt-get install php7.0-mysql
    //change the version number based on the php version
    

    then enable the module

    sudo phpenmod pdo_mysql
    

    and restart apache

    sudo service apache2 restart 
    

提交回复
热议问题