Re: FTP Problem in PHP Version 4.0.4pl1
| From: | David Robley | Date: | Tue, 26 Jun 2001 02:04:05 +0000 |
| Subject: | Re: FTP Problem in PHP Version 4.0.4pl1 | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55174@lists.php.net to get a copy of this message | ||
On Mon, 25 Jun 2001 16:56, muttaqin wrote:
> Hello David,
>
> I have did reconfigure with command :
> ./configure -prefix=/usr/local/php --with-mysql --enable-ftp \
> -with-apache=/usr/local/downloads/apache_1.3.17
>
> And I have restart apache.
> but the problem is the same.
>
> Thank's
>
> ----- Original Message -----
> From: David Robley <huntsman@www.nisu.flinders.edu.au>
> To: muttaqin <muttaqin@tigaraksa.co.id>; <webmaster@php.net>
> Sent: Monday, June 25, 2001 11:52 AM
> Subject: Re: FTP Problem in PHP Version 4.0.4pl1
>
> > On Mon, 25 Jun 2001 13:02, muttaqin wrote:
> > > Had some problem calling the ftp_connect() functions. How to
> > > configure the ftp module?
> > >
> > > We use PHP Version 4.0.4pl1
> > >
> > > Fatal error: Call to undefined function: ftp_connect() in
> > > /home/httpd/html/php/test.php on line 6
> > >
> > > Configure Comand :
> > > './configure' '-prefix=/usr/local/php' '--with-mysql'
> > > '-with-apache=/usr/local/downloads/apache_1.3.17'
> > >
> > > thanks,
> >
> > You need to configure with --enable-ftp
> >
> > Check the output of configure --help for a comprehensive listing.
> >
> > --
> > David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
> > CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
> >
> > "Ummm, Trouble with grammar have I! Yes!" -Yoda-
Im not sure - but if you check your config.log and look for ftp there may
be some clues there. You did re-install the new php, of course.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
If Windows sucked, it would be good for something!