Posted by Andrew Hutchings on 06/28/07 18:56
none wrote:
> crazy php has no config file or setting to enable ftp for linux
> supposedly, there is a switch --enable-ftp that is selectable when
> installing php, but I don't remember synaptek offering me that opportunity.
>
> So, how do I enable ftp_put() on php5?
>
> I'm using apache2 php5 module with linux (mepis 6.5)
> the ftp server is pure-ftpd. (it works)
>
> Thanks
>
> ~Steve~
The switch you refer to is a configuration setting for when PHP is being
built from source.
I don't know about mepis' build but in general most OSes have this
enabled at build time. To use the ftp functions look at:
http://uk2.php.net/manual/en/ref.ftp.php
--
Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.uk/
Windows is the path to the darkside...Windows leads to Blue Screen. Blue
Screen leads to downtime. Downtime leads to suffering...I sense much
Windows in you...
Navigation:
[Reply to this message]
|