cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Installation verification

From: YAHOO!!! <vladkalmik_at_yahoo.com>
Date: Sat, 9 Jun 2001 11:32:17 +0300

Hello Richard,

Saturday, June 09, 2001, 11:06:55 AM, you wrote:

RF> G'Day,

RF> This is just a quick email as I can't search the archive as it is offline
RF> for maint.

RF> I have installed the latest cURL and it works from command line.

RF> I integrated it into and compile PHP with cURL and SSL and all the other
RF> stuff is says to on the web page.

RF> I compiled PHP first of as a stand alone module so I could run it from the
RF> command line. It worked. I could pass in a file with the simple page get
RF> thing and I got the results ok.

RF> Now I compiled PHP as an apache module and compiled that into apache SSL.
RF> No drama's no questions asked, just like the last 1000 apache/mysql/php
RF> installs I have done.

RF> Now calling phpinfo() works as do other basic things like "Hello World!".

RF> However when I try and run a basic web site cURL fetch - I get this error...

RF> *************

RF> Fatal error: Call to undefined function: curl_init() in
RF> /usr/local/apache/htdocs/test2.php on line 3

RF> *************

If you were using it under Windows I would help you. I have had the
same promlem.
But may be it will help you. (I explain everything for WIN32)
Change path to the extensions modules from "./" into "extensions/"
You have to remove comments in php.ini file from php_curl.dll
Copy ssl libraries into PHP directory, rename or copy libssl32.dll
into ssleay32.dll.
Now it must work !!!

May be working under UNIX you have to put right paths.

RF> What is going on? From all the configure and make output cURL was found and
RF> was put in. Even PHP info has a cURL section!

RF> How do I validate that my install is OK and why would my test script not
RF> work, but it did for command line curl and command line PHP.

RF> System is.

RF> RH 6.2 - no patches or anything (this is a internal dev server).
RF> apache 1.3.20
RF> Latest mod_ssl
RF> Latest openssl
RF> Latest curl.
RF> PHP 4.0.5
RF> MySQL 3.23 stable.

RF> Many Thanks.

RF> Richard Ford.
RF> IS Consultant, Cubok PTY LTD
RF> richard_at_cubok.com www.cubok.com
RF> richard_at_millpost.com.au www.millpost.com.au

RF> _______________________________________________
RF> Curl-and-php mailing list
RF> Curl-and-php_at_lists.sourceforge.net
RF> http://lists.sourceforge.net/lists/listinfo/curl-and-php

-- 
Best regards,
 YAHOO!!!                            mailto:vladkalmik_at_yahoo.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Curl-and-php mailing list
Curl-and-php_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-and-php
Received on 2001-06-09