位置: 编程技术 - 正文
推荐整理分享PHP startup: Unable to load dynamic library错误的错误,希望有所帮助,仅作参考,欢迎阅读内容。
文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!
怪啦!今天的Apache和IIS都没法正确加载php_mysql.dll。google了一下,原来发现出现这个问题的人还不少,PHP startup: Unable to load dynamic library :E;PHP5extphp_mysql.dll。明明php_mysql.dll就摆在extension_dir (= "E:/PHP5/ext")下的嘛,怎么会呢?而且就在php_mysql.dll之前的extension=php_gd2.dll都没有出现这个问题,怪了!有人说copy libmysql.dll到 %windir%system下就可以解决问题,其实"华山不这一条道":
PHP被我挪了个窝,%ProgramFiles%到E:下,导致一些要依赖于其他dll才能工作的扩展无法正常加载这些dll,出现加载扩展出错,以刚才的php_mysql.dll为例,php_mysql依赖libmysql.dll,由于给PHP5挪窝了,而又没有把新的E:PHP5夹道%PATH%中去,所以没法找到这个libmysql.dll,才会出错。所以为了能够使用这些mysql的扩展,除了要正确地配置extension_dir外,还得保证系统能够这些扩展所依赖的dll,解决的办法有两个:1 将这些依赖的dll拷贝到%windir%system下2 或者将PHP5的安装目录添加到%PATH%中。无论那个都可以很好地达到我们地目的。够简单的,但是有时候还就想不到哪儿去。到底哪些扩展依赖哪些dll呢?以下列表可以帮助我们回答这个问题:php_curl.dll CURL, Client URL library functions Requires: libeay.dll, ssleay.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.dllgnu_gettext.dll (bundled), PHP >= 4.2.3 requires libintl-1.dll,php_iconv.dll ICONV characterset conversion Requires: iconv-1.3.dllphp_ingres.dll Ingres II functions Requires: Ingres II librariesphp_interbase.dll InterBase functions Requires: gds.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 libeay.dll,ssleay.dll (bundled)php_mcrypt.dll Mcrypt Encryption functions Requires: libmcrypt.dllphp_mhash.dll Mhash functions PHP >= 4.3.0 requires: libmhash.dll (bundled)php_mcrypt.dll Mcrypt Encryption functions Requires: libmcrypt.dllphp_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 librariesphp_openssl.dll OpenSSL functions Requires: libeay.dll (bundled)php_oracle.dll Oracle functions Requires: Oracle 7 client librariesphp_sybase_ct.dll Sybase functions Requires: Sybase client librariesphp_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).
看文档耐心不够,自己找了点麻烦。:P
redhat9.0下载地址 redhat9的下载地址。(请复制以下链接,用迅雷等下载工具进行下载!)
linux磁盘配额相关设置 1、检查系统是否支持磁盘配额(2.4及以后的内核默认是支持磁盘配额的):[root@rhel~]#grepCONFIG_QUOTA/boot/config-[TAB键补全]CONFIG_QUOTA=yCONFIG_QUOTACTL=y#这样就说明是
Linux系统下ISO镜像文件的制作与刻录 1、检验下载的ISO镜像的MD5值:$md5sumdownload.iso2、刻录ISO:1)先下载cdrecord:$sudoapt-getinstallcdrecord2)寻找设备(刻录机):$cdrecord--scanbus(这会给出类似这样
标签: PHP startup: Unable to load dynamic library错误的错误
本文链接地址:https://www.jiuchutong.com/biancheng/359231.html 转载请保留说明!友情链接: 武汉网站建设