RE: [PHP] ftp_connect error w/ 4.3.4RC1

2003-12-29 Thread Jay Blanchard
[snip] Sounds like a DNS problem more than anything else. Have you tried to dig that hostname? [/snip] Well, I forgot to include that the script works from the command line. I have added an nsswitch.conf to the server and I am testing to see if that resolves the problem. Thanks! -- PHP General

Re: [PHP] ftp_connect error w/ 4.3.4RC1

2003-12-29 Thread Raditha Dissanayake
Hi, Sounds like a DNS problem more than anything else. Have you tried to dig that hostname? best regards raditha Jay Blanchard wrote: I get the following error when running a script from CRON using PHP 4.3.4RC1 on FreeBSD (CRON statement) /usr/local/bin/php -q /usr/local/www/data.default/cr

[PHP] ftp_connect error w/ 4.3.4RC1

2003-12-29 Thread Jay Blanchard
I get the following error when running a script from CRON using PHP 4.3.4RC1 on FreeBSD (CRON statement) /usr/local/bin/php -q /usr/local/www/data.default/crm/parsecdr.php PHP Warning: ftp_connect(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /usr/loca