PHP警告:PHP启动:无法加载动态库 [英] PHP Warning: PHP Startup: Unable to load dynamic library

查看:331
本文介绍了PHP警告:PHP启动:无法加载动态库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行一个PHP脚本并收到此错误:

I run a PHP script and get this error:

PHP警告:PHP启动:无法加载动态库'/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.2.lin'-/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.2.lin:无法打开共享对象文件:在第0行的Unknown中没有这样的文件或目录

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.2.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.2.lin: cannot open shared object file: No such file or directory in Unknown on line 0

那是什么意思?

推荐答案

这表示您的一个php配置文件(php.ini或附近的另一行)中存在extension=...zend_extension=...行)正在尝试加载该扩展名:ixed.5.2.lin

It means there is an extension=... or zend_extension=... line in one of your php configuration files (php.ini, or another close to it) that is trying to load that extension : ixed.5.2.lin

很遗憾,该文件或路径不存在或权限不正确.

Unfortunately that file or path doesn't exist or the permissions are incorrect.

  1. 尝试搜索PHP加载的.ini文件(phpinfo()可以指示是哪个文件)-其中之一应尝试加载该扩展名.
  2. 更正文件的路径或注释掉相应的行.
  1. Try to search in the .ini files that are loaded by PHP (phpinfo() can indicate which ones are) - one of them should try to load that extension.
  2. Either correct the path to the file or comment out the corresponding line.

这篇关于PHP警告:PHP启动:无法加载动态库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆