我使用 yum(CentOS 5 64 位)通过 Remi repo 安装了 PHP 5.4.6
我也运行了这个“yum --enablerepo=remi --disablerepo=base,updates install php54-mysql”,它说它有效,但是当我尝试启动 PHP-FPM 时,它说这个
>Starting php-fpm: [26-Sep-2012 21:28:09] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0
>[26-Sep-2012 21:28:09] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0
>[26-Sep-2012 21:28:09] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0
我在服务器上寻找“libmysqlclient.so.15”,但我发现的只是“libmysqlclient.so.18”
如果它有助于我使用 nginx 和 mysql 5.5