#19248 [Fbk->Opn]: ftp_connect failed
| From: | a dot desbois at regie-france dot com | Date: | Mon, 09 Sep 2002 14:32:02 +0000 |
| Subject: | #19248 [Fbk->Opn]: ftp_connect failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18793@lists.php.net to get a copy of this message | ||
ID: 19248
User updated by: a.desbois@regie-france.com
Reported By: a.desbois@regie-france.com
-Status: Feedback
+Status: Open
Bug Type: FTP related
Operating System: AIX 4.3
PHP Version: 4.2.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2002-09-05 15:06:30] kalowsky@php.net
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
Now is your last chance to try an RC for 4.2.3 and tell us if this is
fixed or not. Please do try it so we can make 4.2.3 work best for
everyone.
------------------------------------------------------------------------
[2002-09-05 07:52:20] a.desbois@regie-france.com
http://demoweb.regie-france.com/phpinfo.php
FTP is working with command line but not with PHP
the http server have 2 ethernet cards : one on LAN and one on WAN
It returns 'php_hostconnect: connect failed' when I try
ftp_connect($ftp_server)
TEST HERE: http://demoweb.regie-france.com/ftptest.php
Is it fixed in PHP 4.2.2 ? Or if it's not a problem with PHP, have you
got an idea ?
thx for help :)
./configure --with-apache=/bases/apache_1.3.24/
--with-config-file-path=/usr/local/php --with-pgsql=/usr/local/pgsql
--without-gd --with-xml --enable-track-vars --enable-magic-quotes
--enable-debugger --enable-trans-sid --without-mysql
--sysconfdir=/etc/httpd/ --enable-ftp
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19248&edit=1