我想與cPanel一起運行Nginx Web服務器。 我已經讓Nginx運行並且網站運行正常,但是在安裝cPanel後,看起來像是覆蓋了PHP。cPanel覆蓋PHP
從error.log中當前的錯誤:
connect() failed (111: Connection refused) while connecting to upstream
此錯誤表明有FastCGI的或php-fpm的一個問題。當我試圖重新啓動的php-fpm的服務,我得到這個錯誤:
Starting php-fpm: [23-Aug-2013 00:30:31] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0 [23-Aug-2013 00:30:31] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0 [23-Aug-2013 00:30:31] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
我到底在哪裏改變?我在哪裏可以配置模塊路徑?因爲它從FTP看起來沒問題。 – user2298995
我已經更新了答案,請參閱編輯#1。 – Diemuzi