Home PHP How to check if the CURL extention is installed and compiled with PHP?
 
 
 

How to check if the CURL extention is installed and compiled with PHP?

PDF Print E-mail

Question: How to check if the CURL extention is installed and compiled with PHP?

 

Answer:

Add this line of code to a PHP script

var_dump(curl_version());

If there was a error similar to this Fatal error: Call to undefined function curl_version() or no results was shown, it means that CURL is not installed.

+/-
+/- Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
Security Please input the anti-spam code that you can read in the image.
 

Go Daddy $7.49 .com Sale!