免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1305 | 回复: 0
打印 上一主题 下一主题

httpd挂php5出现的file not found [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-11 18:39 |只看该作者 |倒序浏览
APACHE/IIS在PHP5安装之后,经常导致依赖于其他dll才能工作的扩展无法正常加载这些dll,出现加载扩展出
错,本文将介绍解决方法。
Q: php_mysql.dll为例,php_mysql依赖libmysql.dll,文件都在extension_dir的路径中,为什么apache就是说找不到?
A: 由于PHP5改变文件的位置了,而多数是用.zip发布,所以造成无法复制很多dll到正确路径中去,造成httpd无法调用这些backend dll。
   解决的办法有两个:
1 将这些依赖的dll拷贝到%windir%system32下
2 或者将PHP5的安装目录添加到%PATH%中。(有人说能行,我这就没成功过)
Q: 那些dll调用其它的dll,需要被复制到%system32%,或者%path%中去?
A: Php5官方网站有个列表,好早以前我找过,这里做个list
php_curl.dll CURL, Client URL library functions Requires:   libeay32.dll, ssleay32.dll (bundled)
php_domxml.dll DOM XML functions PHP = 4.3.0 requires: iconv.dll (bundled)
php_fdf.dll FDF: Forms Data Format functions. Requires: fdftk.dll
gnu_gettext.dll (bundled), PHP >= 4.2.3 requires libintl-1.dll,
php_iconv.dll ICONV characterset conversion Requires: iconv-1.3.dll
php_ingres.dll Ingres II functions Requires: Ingres II libraries
php_interbase.dll InterBase functions Requires: gds32.dll (bundled)
php_java.dll Java functions PHP = 4.3.0 requires libeay32.dll,ssleay32.dll (bundled)
php_mcrypt.dll Mcrypt Encryption functions Requires: libmcrypt.dll
php_mhash.dll Mhash functions PHP >= 4.3.0 requires: libmhash.dll   (bundled)
php_mcrypt.dll Mcrypt Encryption functions Requires: libmcrypt.dll
php_mhash.dll Mhash functions PHP >= 4.3.0 requires: libmhash.dll   (bundled)
php_msql.dll mSQL functions Requires: msql.dll (bundled)
php_mssql.dll MSSQL functions Requires: ntwdblib.dll (bundled)
php_mysql.dll MySQL functions PHP >= 5.0.0, requires libmysql.dll   (bundled)
php_mysqli.dll MySQLi functions PHP >= 5.0.0, requires libmysqli.dll   (bundled)
php_oci8.dll Oracle 8 functions Requires: Oracle 8.1+ client libraries
php_openssl.dll OpenSSL functions Requires: libeay32.dll (bundled)
php_oracle.dll Oracle functions Requires: Oracle 7 client libraries
php_sybase_ct.dll Sybase functions Requires: Sybase client libraries
php_xmlrpc.dll XML-RPC functions PHP >= 4.2.1 requires: iconv.dll   (bundled)
php_xslt.dll XSLT functions PHP = 4.2.1 requires sablot.dll, expat.dll,  iconv.dll (bundled).


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/10024/showart_47112.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP