#19248 [Opn->Fbk]: ftp_connect failed

From: Date: Sat, 07 Dec 2002 07:48:35 +0000
Subject: #19248 [Opn->Fbk]: ftp_connect failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26959@lists.php.net to get a copy of this message
ID: 19248 Updated by: iliaa@php.net Reported By: a.desbois@regie-france.com -Status: Open +Status: Feedback Bug Type: FTP related Operating System: AIX 4.3 PHP Version: 4.2.0 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-09-11 07:19:54] a.desbois@regie-france.com I tried ftp_connect() with an IP address as argument ... same trouble. In main/php_config.php, #define HAVE_GETADDRINFO 1 was already uncommented , so I commented it ... and tried again. Make output is available at http://demoweb.regie-france.com/make_20020911.stdout. Have you noticed the warnings in ext/ftp/ftp.c ? Test is available at http://demoweb.regie-france.com/test.php ------------------------------------------------------------------------ [2002-09-09 11:53:48] venaas@php.net Does it work when you use an IP address? In main/php_config.h it probably says #define HAVE_GETADDRINFO 1 If you uncomment this and do make, does it work then? Some versions of the bind library have broken getaddrinfo(), maybe you have one too? ------------------------------------------------------------------------ [2002-09-09 09:32:01] a.desbois@regie-france.com ups, in fact the installation of PHP 4.3.0 makes a new bug ? ftp_connect still don't work, and now, fsockopen don't work COMPILATION LOG : http://demoweb.regie-france.com/make.stdout PHPINFO : http://demoweb.regie-france.com/phpinfo.php TEST HERE : http://demoweb.regie-france.com/test.php ------------------------------------------------------------------------ [2002-09-09 08:01:46] sniper@php.net fsockopen() ? What happened to ftp_connect() ? Please add the shortest possible script here which can be used to reproduce this. ------------------------------------------------------------------------ [2002-09-09 07:53:20] a.desbois@regie-france.com 2002-09-09 14:12:19 - Alerte - fsockopen() [<a href='http://www.php.net/function.fsockopen'>function.fsockopen</a>]: php_hostconnect: connect failed in /www/annabelle/www/include/fct/CWebdConnect.inc:34 2002-09-09 14:12:19 - Alerte - fsockopen() [<a href='http://www.php.net/function.fsockopen'>function.fsockopen</a>]: unable to connect to 10.100.1.249:3513 in /www/annabelle/www/include/fct/CWebdConnect.inc:34 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19248 -- Edit this bug report at http://bugs.php.net/?id=19248&edit=1

« previous php.bugs (#26959) next »