php curl unable to load,如何解决PHP startup: Unable to load dynamic library的错误 | 学步园

在使用php_curl.dll库的时候,error.log中出现不能加载动态库,于是找到如下一篇文章,解决了疑问。但是我想有没有其它的方法呢,这样还要拷贝,有点麻烦,能不能改变其它呢?

解决的办法有两个:

1 将这些依赖的dll拷贝到%windir%/system32下

2 或者将PHP5的安装目录添加到%PATH%中。

无论那个都可以很好地达到我们地目的。

够简单的,但是有时候还就想不到哪儿去。

到底哪些扩展依赖哪些dll呢?以下列表可以帮助我们回答这个问题:php_curl.dll CURL, Client URL library functions Requires: libeay32.dll, ssleay32.dll (bundled)

php_domxml.dll DOM XML functions PHP <= 4.2.0 requires: libxml2.dll

(bundled) 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.0.6 requires: jvm.dll (bundled)

php_ldap.dll LDAP functions PHP <= 4.2.0 requires libsasl.dll(bundled),

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.0 requires sablot.dll, expat.dll (bundled).

PHP >= 4.2.1 requires sablot.dll, expat.dll, iconv.dll (bundled).

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值