PHP 7 RC3: How to install missing MySQL PDO

后端 未结 12 863
暗喜
暗喜 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:37

    If you are on windows, and your php folder is not in your PATH, you have set the absolute directory in your php.ini

    for example:

    extension_dir = "C:/php7/ext"
    

    and uncomment

    extension=php_mysqli.dll
    extension=php_pdo_mysql.dll
    

    Restart apache2.4 and it should work.

    I hope it helps.

提交回复
热议问题