Posted by Manuel Lemos on 03/13/07 03:31
Hello,
on 03/12/2007 12:42 PM Matthias Leopold said the following:
> hi
>
> i've got problems getting php4 scripts which use curl to work on RHEL4
> (Nahant Update 4) and CentOS 4.4. when the script is accessed the
> browser "hangs", after a couple of minutes i'm prompted to save the
> php-file, obviously nothing is executed.
>
> what i've checked:
> .) curl in php works with a selfcompiled php5 binary executed via cgi on
> the same server
> .) curl script (actually the example from
> http://www.php.net/manual/de/ref.curl.php) works on other servers (not
> rhel/centos)
> .) selinux is disabled
> .) disabling iptables rules makes no difference
> .) apache errorlog doesn't give any hint, regardless of apache and php
> log levels
> .) php rpms are up2date
> .) php core config see below
It is hard to tell as curl does not seem any debug output when it
executes a connection request.
You may want to try this HTTP client class that provides plenty of debug
output so you can see what is going on during the connection.
http://www.phpclasses.org/httpclient
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
[Back to original message]
|