FTP problem with PHP 4.2.2 / AIX 4.3.2

From: Date: Wed, 28 Aug 2002 06:55:33 +0000
Subject: FTP problem with PHP 4.2.2 / AIX 4.3.2
Groups: php.general 
Request: Send a blank email to php-general+get-114327@lists.php.net to get a copy of this message
Hi, I've just configured and installed sucessfully PHP 4.2.2 on my AIX server. Everything works good, except when I want to connect to a FTP server within a PHP script. I compiled PHP using the --enable-ftp option and phpinfo() tells me that FTP support is enabled. Here is a simple script I tried: <? $res = ftp_connect("127.0.0.1"); echo "res=$res"; ?> When executing this script I get the following output: "Warning: php_hostconnect: connect failed in /www/nico/www/test.php on line 3 res= " 127.0.0.1 is correctly configured as a FTP server !! I tried to connect to some others FTP server with the same result. Is there a problem with FTP support on AIX ? because I tried the same on Linux without any problem ? Does anyone know about this problem ? Nicolas.

« previous php.general (#114327) next »