溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

php找不到curl_init()怎么解決

發(fā)布時(shí)間:2022-01-19 12:03:34 來(lái)源:億速云 閱讀:211 作者:iii 欄目:編程語(yǔ)言

這篇文章主要介紹了php找不到curl_init()怎么解決的相關(guān)知識(shí),內(nèi)容詳細(xì)易懂,操作簡(jiǎn)單快捷,具有一定借鑒價(jià)值,相信大家閱讀完這篇php找不到curl_init()怎么解決文章都會(huì)有所收獲,下面我們一起來(lái)看看吧。

php找不到curl_init()的解決辦法:1、在php.ini中打開(kāi)“extension=php_curl.dll”;2、復(fù)制相關(guān)文件到System32目錄下;3、修改Httpd.conf;4、重啟apache即可。

php找不到curl_init()怎么解決

本文操作環(huán)境:Windows7系統(tǒng)、php5.3版、DELL G3電腦

php找不到curl_init()怎么辦?

php5.3.5 (apache windows) 提示Cannot call to undefined function curl_init()解決方法

[ 其他版本類(lèi)似 ]

我的php環(huán)境安裝的位置

php找不到curl_init()怎么解決

1.D:\wamp\php\php.ini 打開(kāi);extension=php_curl.dll

php找不到curl_init()怎么解決

2.復(fù)制 D:\wamp\php\libeay32.dll 和 D:\wamp\php\ssleay32.dll 到C:\Windows\System32目錄下

php找不到curl_init()怎么解決

3.Httpd.conf中(最底部),具體位置看你PHP的放置位置了:

增加:LoadFile D:\wamp\php\libeay32.dll

增加:LoadFile D:\wamp\php\ssleay32.dll

LoadModule php5_module D:\wamp\php\php5apache2_2.dll

AddType application/x-httpd-php .php .html .htm .jsp

# configure the path to php.ini

PHPIniDir "D:\wamp\php"

4.重啟apache

關(guān)于“php找不到curl_init()怎么解決”這篇文章的內(nèi)容就介紹到這里,感謝各位的閱讀!相信大家對(duì)“php找不到curl_init()怎么解決”知識(shí)都有一定的了解,大家如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注億速云行業(yè)資訊頻道。

向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI