I have set up local server in my laptop (Windows 10 Home Single Language 64 bit Version 1803).
I have downloaded and manually installed <a href="https://www.apachelounge.com/download/" rel="nofollow noreferrer">apache24</a>, <a href="https://windows.php.net/download#php-7.2" rel="nofollow noreferrer">php7</a>, <a href="https://dev.mysql.com/downloads/mysql/" rel="nofollow noreferrer">MySQL</a>, <a href="https://www.phpmyadmin.net/downloads/" rel="nofollow noreferrer">phpMyAdmin</a> and <a href="https://wordpress.org/download/" rel="nofollow noreferrer">wordpress</a> by following this <a href="https://www.youtube.com/playlist?list=PLk3TaFJq0tw7ju86UUfgKF8z-QGisYEKU" rel="nofollow noreferrer">tutorial</a>.
I am trying to enable cURL and so in the php.ini file i have changed
to
I have restarted the apache server. After that I run the following code at localhost/curl_enable.php to check whether cURL is enabled.
But it still shows
So have I missed any step. How to enable cURL in my system?
I have downloaded and manually installed <a href="https://www.apachelounge.com/download/" rel="nofollow noreferrer">apache24</a>, <a href="https://windows.php.net/download#php-7.2" rel="nofollow noreferrer">php7</a>, <a href="https://dev.mysql.com/downloads/mysql/" rel="nofollow noreferrer">MySQL</a>, <a href="https://www.phpmyadmin.net/downloads/" rel="nofollow noreferrer">phpMyAdmin</a> and <a href="https://wordpress.org/download/" rel="nofollow noreferrer">wordpress</a> by following this <a href="https://www.youtube.com/playlist?list=PLk3TaFJq0tw7ju86UUfgKF8z-QGisYEKU" rel="nofollow noreferrer">tutorial</a>.
I am trying to enable cURL and so in the php.ini file i have changed
Code:
;extension=curl
to
Code:
extension=curl
I have restarted the apache server. After that I run the following code at localhost/curl_enable.php to check whether cURL is enabled.
Code:
<?php
echo 'Curl: ', function_exists('curl_version') ? 'Enabled' . "\xA" : 'Disabled' . "\xA";
?>
But it still shows
Code:
Curl: Disabled
So have I missed any step. How to enable cURL in my system?