php執行出現Call to undefined function curl_init()
裝好PHP後,執行類似$ch = curl_init();這樣的語句,出現Call to undefined function curl_init()的錯誤提示。
解決方法如下:
1、在php.ini中找到extension=php_curl.dll,去掉前面的,php.ini一般在c:windows下面。
2、在php.ini中找到extension_dir = "ext",去掉前面的;,改為extension_dir = "C:php5ext"。
"C:php5ext"只是示例,即擴充套件指向的路徑要對
3、php_curl.dll、libeay32.dll、ssleay32.dll、php5ts.dll都拷到system32下面去。
4、然後重啟IIS。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69957453/viewspace-2754402/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PHP Fatal error: Uncaught Error: Call to undefined function pcntl_fork().. 開啟php pcntl擴充套件實現多程式PHPErrorUndefinedFunction套件
- "Fatal error: Call to undefined function: file_put_contents()"ErrorUndefinedFunction
- centos PHP7 yii2 報錯 Call to undefined function yii\\helpers\\mb_strlen()CentOSPHPUndefinedFunction
- 解決:ThinkPHP 下載專案提示“Call to undefined function captcha_src()”問題PHPUndefinedFunctionAPT
- 實現call函式,手寫Function.prototype.call函式函式Function
- Function.prototype.callFunction
- 執行 valet 提示 sudo 問題和 undefined function Valet\collect () 錯誤的解決辦法UndefinedFunction
- Elasticsearch報Call to undefined xx makeAllSearchable()錯誤ElasticsearchUndefined
- php 實現golang defer延遲執行(先進後出)PHPGolang
- SAP 的CALL FUNCTION 函式彙總Function函式
- javascript中的自執行(立即執行)函式(function(){…})()JavaScript函式Function
- ThinkPHP函式提示錯誤function undefined的方法PHP函式FunctionUndefined
- 裝完PHP後重起Apache的時候出現"Undefined symbols"錯誤(轉)PHPApacheUndefinedSymbol
- 網站執行PHP出現No input file specified 的解決辦法網站PHP
- 對於 Function.call()的深入理解Function
- Function.prototype.call.apply作用詳解FunctionAPP
- windows8執行php Composer出現SSL報錯的問題WindowsPHP
- JavaScript自執行函式(function(){})()的理解JavaScript函式Function
- PHP程式報錯:PHP Notice: Undefined index: XX inPHPUndefinedIndex
- 呼叫JavaCalls::call()方法來執行Java方法Java
- php 魔術方法 __callPHP
- PHP執行模式PHP模式
- PHP 執行模式PHP模式
- php執行流程PHP
- crontab執行phpPHP
- PHP定時執行任務的實現PHP
- Jmeter執行後出現亂碼JMeter
- 執行Bex 出現 61704 錯誤
- 理解call和實現call
- 執行專案報錯Cannot read property 'styles' of undefinedUndefined
- JS學習筆記:JS 的function( window, undefined ) {}(window)寫法JS筆記FunctionUndefined
- 如何分析SAP UI5應用的undefined is not a function錯誤UIUndefinedFunction
- gitbash PHP執行輸出中文亂編解決方式GitPHP
- PHP多程式並行執行php指令碼PHP並行指令碼
- PHP多執行緒的實現方法詳解PHP執行緒
- win10執行戰地3彈出directx function報錯的解決方法Win10Function
- 執行jdonMVC示例出現了錯誤MVC
- PHP4使用者手冊:函式->CRUL->curl_init (轉)PHP函式