如何解決我的PHP啓動警告:PHP 5.3.8啓動預警
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions
/no-debug-non-zts-20090626/imap.so' - /usr/lib/php/extensions/no-debug-non-zts-20090626
/imap.so: cannot open shared object file: No such file or directory in Unknown on
line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions
/no-debug-non-zts-20090626/mcrypt.so' - /usr/lib/php/extensions/no-debug-non-zts-
20090626/mcrypt.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions
/no-debug-non-zts-20090626/memcache.so' - /usr/lib/php/extensions/no-debug-non-zts-
20090626/memcache.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions
/no-debug-non-zts-20090626/mysql.so' - /usr/lib/php/extensions/no-debug-non-zts-
20090626/mysql.so: cannot open shared object file: No such file or directory in
Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib
/php/extensions/no-debug-non-zts-20090626/mysqli.so' - /usr/lib/php/extensions
/no-debug-non-zts-20090626/mysqli.so: cannot open shared object file: No such file or
directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions
/no-debug-non-zts-20090626/pdo.so' - /usr/lib/php/extensions/no-debug-non-zts-20090626
/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions
/no-debug-non-zts-20090626/pdo_mysql.so' - /usr/lib/php/extensions/no-debug-non-zts-
20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions
/no-debug-non-zts-20090626/suhosin.so' - /usr/lib/php/extensions/no-debug-non-zts-
20090626/suhosin.so: cannot open shared object file: No such file or directory in
Unknown on line 0
我已經在我的config文件夾中的許多配置文件,我不知道他們來自哪裏:
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d/gd.ini on
line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d/gd.ini on
line 2 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d/imap.ini
on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d/mcrypt.ini
on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d
/memcache.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d
/mysql.ini
on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d
/mysqli.ini
on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d/pdo.ini
on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d
/pdo_mysql.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d/xcache.ini
on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/conf.d/xcache.ini
on line 9 in Unknown on line 0
由於警告我認爲我不需要它們?
你已經做了哪些診斷工作? 這些文件是否存在?你有沒有找到哪個php配置文件或部分加載它們? – MrTrick
我已更新我的問題。我可以刪除這些配置文件嗎?我的PHP正在工作,什麼是susohin,mysql_pdo,mysql_cli等? – Bytemain
mysql_pdo,mysql_cli等是PHP的擴展。 MySQL_pdo允許你使用PDO類連接到mysql數據庫。 IMAP.so允許您通過PHP連接到IMAP服務器。如果您確信服務器上託管的應用程序不需要這些擴展,那麼您可以嘗試刪除它們。 – F21