PDF扩展程序无法加载

时间:2013-02-07 09:57:57

标签: php

我正在使用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未上传。不允许使用文件类型

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

2 个答案:

答案 0 :(得分:1)

看起来你已经在你的php.ini中添加了'pdf.so',而实际上没有installing the extension

答案 1 :(得分:0)

PHP Startup: Unable to load dynamic library

看起来未正确安装pdf扩展程序。您可以阅读插件的安装section来修复此错误。然后阅读有关如何use插件的内容。按照说明进行操作即可。