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

curl-and-php

Installation verification

From: Richard Ford <curl_at_cubok.com>
Date: Sat, 9 Jun 2001 18:06:55 +1000

G'Day,

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

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

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

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

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

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

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

*************

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

*************

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

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

System is.

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

Many Thanks.

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

_______________________________________________
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