Jump to content

cURL and XAMPP


PC Nerd

Recommended Posts

Hi,

 

Im currently workign with XAMPP, which most of you woudl know is a package that you install that has apache, php, pearl, mysql and mercury mailserver all in the one bundle.

 

However Im starting to work with cURL, and i wanted to work with the CLI version of PHP.  Now Im not too sure how to go about this because there are mentions of compiling the source code or somethign to make cURL work.  Im wondering if theres an alternative to compiling the C source, because I dont think tha tXAMPP comes with teh CLI version of PHP.  If Im wrong, please correct me.

 

Is there an easier method than manually creating my webserver from scratch with PHP, mysql and apache?  all i want is somethign nice like XAMPP, but with cURL and other additions.

 

Coudl anyone suggest another method for installing cURL, or alternatively anthother wever package similar to XAMPP that has cURL installed.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/86765-curl-and-xampp/
Share on other sites

Find the php.ini file that is used with the cli version of PHP.

Edit it.

Remove the semi-colon ";" in front of the line ";extension=php_curl.dll"

Save the file

do a "php -m" to see if the module is available.

 

If not, think about asking your question on the xampp forum

 

Ken

Link to comment
https://forums.phpfreaks.com/topic/86765-curl-and-xampp/#findComment-443471
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.