为什么我的服务器正在加载这些PHP变量?

时间:2014-03-01 03:32:12

标签: php linux libraries

我正在将我的服务器迁移到新的专用服务器,并且在迁移后我的主网站显示500内部错误消息,在error_log上我看到了

[28-Feb-2014 22:29:14 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/suhosin.so' - /usr/local/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
[28-Feb-2014 22:29:14 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so' - /usr/local/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
[28-Feb-2014 22:29:14 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[28-Feb-2014 22:29:14 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[28-Feb-2014 22:29:14 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/phar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[28-Feb-2014 22:29:14 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - /usr/local/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
[28-Feb-2014 22:29:14 America/New_York] PHP Fatal error:  Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

我不知道为什么它会加载这么多库,我能找到任何方法吗?

我应该全部谷歌并安装它们吗?

1 个答案:

答案 0 :(得分:1)

查看您的php.ini文件;它指的是每个库,或者它不会尝试加载它们。