Is part of CURL the original PHP installation?

When I first installed PHP, did it include libraries for cURL?

+3
source share
2 answers

To check if your version of PHP supports cURL support, create a php file:

<?php phpinfo(); ?>

If you open this file in your browser, it will print all the information about your php installation, including the inclusion of cURL.

Look at the line that includes cURL support under the cursor.

+5
source

No, it is not enabled by default.

From manual :

PHP cURL, PHP -with-curl [= DIR], DIR - , lib include. include curl, easy.h curl.h. libcurl.a, lib.

Windows (php_curl.dll), , php.ini.

+1

Source: https://habr.com/ru/post/1749190/


All Articles