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("");
   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
" 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 ?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to