christo16 Posted March 25, 2007 Share Posted March 25, 2007 I have already compiled PHP on my OS X machine and when I run a basic curl script it does not recognized "curl_init();". I'm guessing that I did not enable support for curl when I compiled PHP. Do i need to go back an recompile php? Will this disrupt my current settings? What exactly do I need to install to have curl work? I've done a lot of googling and tried recompiling it numerous times, most often it fails to recompile and the times it does complete the curl script does not seem to work. Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/44267-setup-php-with-curl-support/ Share on other sites More sharing options...
aunquarra Posted March 29, 2007 Share Posted March 29, 2007 If it's not recognizing curl_init(), I think you'll need to recompile (--with-curl[=curl's dir]), but before you do, you need to make sure you have libcurl installed (see http://curl.haxx.se/ for downloads). If you have libcurl installed, and you're configuring with curl enabled, and it's failing to compile, I'd need more information about the failures to really start to guess. Quote Link to comment https://forums.phpfreaks.com/topic/44267-setup-php-with-curl-support/#findComment-217381 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.