curl-and-php
Re: My Curl Does not work
Date: Mon, 09 Apr 2001 22:00:40 -0400
Hi Ricardo,
I do not about your distribution, but for Mandrake, I think is also red
hat based, I installed
an extra rpm :
# rpm -qa|grep php
php-4.0.4pl1-3mdk
php-devel-4.0.4pl1-3mdk
php-gd-4.0.4pl1-3mdk
php-ldap-4.0.4pl1-3mdk
php-manual-4.0.4pl1-3mdk
php-pgsql-4.0.4pl1-3mdk
php-readline-4.0.4pl1-3mdk
mod_php-4.0.4pl1-3mdk
php-imap-4.0.4pl1-3mdk
php-curl-4.0.4pl1-10.arvin
The last one, it brings one file:
# rpm -ql php-curl-4.0.4pl1-10.arvin
/usr/lib/php4/curl.so
Then in your /etc/php.ini you need this line uncommented:
# grep curl /etc/php.ini
extension=curl.so
Hope this helped.
Mohamed~
"Ricardo (Research)" wrote:
>
> Dear friends,
>
> I have Conectiva Linux 6.0 (Red Hat based), Apache 1.3.14, PHP4 4.0.4pl1 and
> cURL 7.7.1-1.
> If all softwares was installed with RPM, how can I compile PHP4 with
> "--with-curl" ???
> Ok, what I have to do to make cURL work?
> Is there some "conf" file to edit?
>
> When I open a php page receive:
> "Fatal error: Call to undefined function: curl_init() in
> /home/httpd/html/curl.php on line 3".
> Line 3 is: "$ch = curl_init ("http://my.homepage.com/");"
>
> Thanks in advance.
>
> Ricardo
>
> _______________________________________________
> Curl-and-php mailing list
> Curl-and-php_at_lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/curl-and-php
_______________________________________________
Curl-and-php mailing list
Curl-and-php_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-and-php
Received on 2001-04-10