Reply to Re: turn on FTP on linux

Your name:

Reply:


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...

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация