国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

解決PHP startup: Unable to load dynamic library的錯(cuò)誤

php中文網(wǎng)
發(fā)布: 2016-06-21 09:06:09
原創(chuàng)
1781人瀏覽過

錯(cuò)誤|解決

怪啦!今天的Apache和IIS都沒法正確加載php_mysql.dll。google了一下,原來發(fā)現(xiàn)出現(xiàn)這個(gè)問題的人還不少,PHP startup: Unable to load dynamic library :E;\PHP5\ext\php_mysql.dll。明明php_mysql.dll就擺在extension_dir (= "E:/PHP5/ext")下的嘛,怎么會(huì)呢?而且就在php_mysql.dll之前的extension=php_gd2.dll都沒有出現(xiàn)這個(gè)問題,怪了!有人說copy libmysql.dll到 %windir%\system32下就可以解決問題,其實(shí)"華山不這一條道":

?

PHP被我挪了個(gè)窩,%ProgramFiles%到E:\下,導(dǎo)致一些要依賴于其他dll才能工作的擴(kuò)展無法正常加載這些dll,出現(xiàn)加載擴(kuò)展出
錯(cuò),以剛才的php_mysql.dll為例,php_mysql依賴libmysql.dll,由于給PHP5挪窩了,而又沒有把新的E:\PHP5夾道%PATH%中去
,所以沒法找到這個(gè)libmysql.dll,才會(huì)出錯(cuò)。所以為了能夠使用這些mysql的擴(kuò)展,除了要正確地配置extension_dir外
,還得保證系統(tǒng)能夠這些擴(kuò)展所依賴的dll,解決的辦法有兩個(gè):
1 將這些依賴的dll拷貝到%windir%\system32下
2 或者將PHP5的安裝目錄添加到%PATH%中。
無論那個(gè)都可以很好地達(dá)到我們地目的。
夠簡單的,但是有時(shí)候還就想不到哪兒去。
到底哪些擴(kuò)展依賴哪些dll呢?以下列表可以幫助我們回答這個(gè)問題:
php_curl.dll CURL, Client URL library functions Requires: libeay32.dll, ssleay32.dll (bundled)
php_domxml.dll DOM XML functions PHP (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 php_ldap.dll LDAP functions PHP 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 PHP >= 4.2.1 requires sablot.dll, expat.dll, iconv.dll (bundled).



PHP速學(xué)教程(入門到精通)
PHP速學(xué)教程(入門到精通)

PHP怎么學(xué)習(xí)?PHP怎么入門?PHP在哪學(xué)?PHP怎么學(xué)才快?不用擔(dān)心,這里為大家提供了PHP速學(xué)教程(入門到精通),有需要的小伙伴保存下載就能學(xué)習(xí)啦!

下載
來源:php中文網(wǎng)
本文內(nèi)容由網(wǎng)友自發(fā)貢獻(xiàn),版權(quán)歸原作者所有,本站不承擔(dān)相應(yīng)法律責(zé)任。如您發(fā)現(xiàn)有涉嫌抄襲侵權(quán)的內(nèi)容,請(qǐng)聯(lián)系admin@php.cn
最新問題
開源免費(fèi)商場(chǎng)系統(tǒng)廣告
最新下載
更多>
網(wǎng)站特效
網(wǎng)站源碼
網(wǎng)站素材
前端模板
關(guān)于我們 免責(zé)申明 意見反饋 講師合作 廣告合作 最新更新
php中文網(wǎng):公益在線php培訓(xùn),幫助PHP學(xué)習(xí)者快速成長!
關(guān)注服務(wù)號(hào) 技術(shù)交流群
PHP中文網(wǎng)訂閱號(hào)
每天精選資源文章推送
PHP中文網(wǎng)APP
隨時(shí)隨地碎片化學(xué)習(xí)
PHP中文網(wǎng)抖音號(hào)
發(fā)現(xiàn)有趣的

Copyright 2014-2025 http://m.miracleart.cn/ All Rights Reserved | php.cn | 湘ICP備2023035733號(hào)