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

8 sec read

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.

Last Updated On March 22, 2018

Leave a Reply

avatar
  Subscribe  
Notify of