Page 1 of 1
curl_init() will not work
Posted: Fri Aug 06, 2004 8:57 pm
by Oxydude
I am running PHP 4.3.8 and curl 7.8-1 on RedHat AS 2.1. I recompiled php with the --enable-curl option. The php.ini file has the ; removed before extension=curl.so. Everytime I try to use anything curl related, I seem to get the same error; Fatal error: Call to undefined function: curl_init() in /var/www/html/... on line xxx. Any ideas on where to look next? Also, curl does work from the linux prompt. Also, I did a find / -name=curl -print and I see that curl is at /tmp/php-4.3.8/ext/curl.so and /usr/bin/curl
Thanks!
Posted: Fri Aug 06, 2004 9:02 pm
by Joe
Have you copied the libeay32.dll and sseay32.dll files to your PHP and system directory?
Posted: Fri Aug 06, 2004 9:14 pm
by Oxydude
Would these files be on a linux port of PHP? I did a search (libeay* & sseay*) and could not find any matches on my hard drive.
Posted: Fri Aug 06, 2004 9:17 pm
by Joe
Hmm actually I was wrong there, I should have read more into your post. The dll files I specified are for win32 users only I think!
Posted: Fri Aug 06, 2004 9:26 pm
by Oxydude
No problem, I appreciate the effort!
Posted: Fri Aug 06, 2004 9:28 pm
by Joe
Have you read the
Curl Information on php.net?
Posted: Fri Aug 06, 2004 9:49 pm
by Oxydude
Yes, I read it...maybe I will take another look.
Thanks!
Posted: Fri Aug 06, 2004 9:50 pm
by Joe
Yeah no problem, you should also have a google search

I always find that it helps, hehe