-2

我正在使用filethingie将文件上传到我的网站。当我上传文件时,它给出了以下错误。

[07-Feb-2013 08:52:28 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:55:00 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:55:01 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:57:16 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:57:16 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:58:19 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:58:19 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:58:28 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:58:29 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:58:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 08:58:55 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 09:02:19 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 09:02:25 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 09:02:29 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 09:02:54 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
[07-Feb-2013 09:02:59 UTC] PHP Warning:  preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Unknown modifier '\' in /home/softlogi/public_html/Softlogic_Research/ft-admin.php on line 113
[07-Feb-2013 09:03:06 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0

并显示

name.pdf 未上传。不允许的文件类型

为什么会出现此问题,我该如何解决?

4

2 回答 2

1

看起来您已将“pdf.so”添加到您的 php.ini,而没有实际安装扩展

于 2013-02-07T10:03:27.583 回答
0
PHP Startup: Unable to load dynamic library

看起来 pdf 扩展名没有正确安装。您可以阅读插件的安装部分来修复此错误。然后阅读有关如何使用该插件的信息。只需按照说明进行操作,您就会没事的。

于 2013-02-07T10:08:37.550 回答