How to check whether curl is installed in php

藏色散人
Release: 2023-03-09 18:44:01
Original
2995 people have browsed it

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.

How to check whether curl is installed in php

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

Create a new file phpinfo.php

in the PHP environment

The content is:

<?php
phpinfo();
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template