Page 1 of 1

Need help with CURL

Posted: Fri Oct 15, 2010 8:57 am
by aceSpec
Hey,

I'm having some trouble enabling CURL on my php server. I have php and apache installed on a Redhat CentOS Release 5.5 box.

Here's have I've done so far:
- read numerous posts, php.net, and curls website.
- ran ./configure under the curl directory and php directory
- ran yum install curl curl-devel without any issues
- added extension=curl.so to my php.ini
- recompiled php --with-curl
- restarted the server

and CURL isn't showing up on my phpinfo() page.

When I type curl -V on my box it sends back:

Code: Select all

curl 7.21.1 (i686-pc-linux-gnu) libcurl/7.21.1 OpenSSL/0.9.8b zlib/1.2.3
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM SSL libz
I need curl enabled so that I can use the curl_init() function.

Any ideas on what im doing wrong or what i've missed?

Thanks ahead.

Re: Need help with CURL

Posted: Fri Oct 15, 2010 3:39 pm
by aceSpec
RESOLVED!

I solved the issue using this:

http://topforum.com/web-development/821 ... sever.html