0

enable cURL in PHP WAMP, XAMPP and Ubuntu Apache server

We as a whole know the power of cURL, In short cURL is a library that gives you a chance to make HTTP requests in PHP ,In the part of web application improvement cURL must be enable in our web server, Because it is critical to deal with third party api request like SMS Gateway numerous more undertaking you can without much of a stretch handle with cURL.

enable curl cpanel, enable curl php linux, enable curl php ubuntu, php curl extension windows, php.ini curl settings, php7 enable curl, xampp curl enabled but not working, xampp curl not working

Here we’ll learn the easy way to enable cURL in PHP. You only need to modify the php.ini file for enabling cURL in WAMP / XAMPP / Ubuntu Apache server.

Enabling cURL in WAMP Server

Step.1: Open the WAMP\bin\php\(php version)\php.ini file in any text editor.
Step.2: Search for curl, Uncomment the below line in the php.ini file by removing the semicolon (;).

Step.3: Open the WAMP\bin\Apache\(apache version)\bin\php.ini file in any text editor.
Step.4: Search for curl, Uncomment the below line in the php.ini file by removing the semicolon (;).

Note: Don’t forget to restart WAMP Server.

Enabling cURL in XAMPP Server

Step.1: Open the xampp\apache\bin\php.ini file in any text editor.
Step.2: Search for curl, Uncomment the below line in the php.ini file by removing the semicolon (;).

Note: Don’t forget to restart XAMPP Server.

Enabling cURL in Ubuntu Apache Server

Step.1: First install curl

Step.2: Restart Apache server.

Double check, is curl enable in php.ini file or not
Step.3: Open the etc/(php version)/(apache version)/php.ini file.
Step.4: Check following line should be uncomment, (;) should be removed.

Leave a Reply

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