php

How to enable cURL in PHP WAMP, XAMPP, and Ubuntu

In this tutorial, we are going to see how to enable CURL in PHP WAMP, XAMPP, and Ubuntu. We have included a number of different options, as it may be different depending on your software or platform.
 

Enable cURL in XAMPP

1- Open the file xampp\apache\bin\php.ini.
2- Uncomment the following line in php.ini by removing the semi-colon (;).

;extension=php_curl.dll

3- Restart XAMPP.
 

Enable cURL in WAMP

1- Open the file WAMP\bin\Apache\(apache version)\bin\php.ini.
2- Uncomment the following line in php.ini by removing the semi-colon (;).

;extension=php_curl.dll

3- Restart WAMP.
 

 

Enable cURL in Ubuntu

1- Open the file etc/(php version)/(apache version)/php.ini.
2- Uncomment the following line in php.ini by removing the semi-colon (;).

;extension=php_curl.dll

3- Restart the Apache server.
mcqMCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More

Leave a Reply

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