Re: ftp functions not working

From: Date: Thu, 02 Sep 2004 17:24:31 +0000
Subject: Re: ftp functions not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-195620@lists.php.net to get a copy of this message
mhhh.. try this: #!/usr/local/bin/php <? phpinfo(); ?> and look on the console if you see ftp enabled... ¿do you have only ONE PHP INSTALL IN YOUR BOX?.. or two? On Thu, 02 Sep 2004 09:43:27 -0500, Cory D. Wiles <cwiles@eperformax.com> wrote: > I am writing some backup scripts that will ftp my *.gz files to my ftp > server. Unfortunately I didn't originally install php with ftp support > (oversight on my part). I reconfigured/installed PHP with --enable-ftp > and restarted everything, but the functions still don't work. > > #!/usr/local/bin/php > <? > if (function_exists('ftp_connect')): > print "cool\n"; > else: > print "damn\n"; > endif; > ?> > output when ran: 'Damn' > > During the make I didn't see any errors. When I ran phpinfo() > [http://www.randomthoughtprocess.com/info.php] it shows that I have FTP > support. Is there something that I am missing? > -- > Cory Wiles > Systems Engineer > ePerformax - Memphis, TN > 901.751.4902 > http://www.eperformax.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Pablo M. Rivas. http://pmrivas.ipupdater.com -----------------------------------------------------------

« previous php.general (#195620) next »