How to check whether curl is installed in PHP: First, create a new file "phpinfo.php" in the PHP environment; then access the file in the browser. If you see "cURL support" as "enabled", it means it is installed. curl.
The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer
Create a new file phpinfo.php
in the PHP environmentThe content is:
<?php phpinfo();
After saving, visit this phpinfo.php file with your browser
Search on the page: curl
If you see cURL support as enabled, it means it has been installed
Recommended study: "PHP Video Tutorial"
The above is the detailed content of How to check whether curl is installed in php. For more information, please follow other related articles on the PHP Chinese website!