Select Page

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

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.

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.