From: tom at smediag dot com
Operating system: Unix
PHP version: 4.3.3
PHP Bug Type: FTP related
Bug description: ftp_ssl_connect()
Description:
------------
Hello,
I am not sure if everything is ok in ftp_ssl_connect() function ... I am
trying to connect ftp server using this function but I cant ... I will be
grateful if you can tell me what should I do ... or ... what should I
install on the server .
Reproduce code:
---------------
define('AUTO_TXN_HOST', 'ftp.domain.com');
$sftp = ftp_ssl_connect( AUTO_TXN_HOST, 22 ); // problem is in this line
Expected result:
----------------
I should be connected
Actual result:
--------------
Warning: ftp_ssl_connect(): php_network_getaddresses: getaddrinfo failed:
Name or service not known in /home/httpd/my/account/site/script.php
--
Edit bug report at http://bugs.php.net/?id=25779&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25779&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25779&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25779&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25779&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25779&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25779&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25779&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25779&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25779&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25779&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25779&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25779&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25779&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25779&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25779&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25779&r=float