How do I install phpWebFTP?

Step 1
Download the archive from sourceforge, unzip the file and copy all files to a directory on your webserver.

Download phpWebFTP

Step 2
Set the permissions of the temporary download directory so all users can read and write in the directory (e.g. chmod 777 tmp).

Step 3
Check the configuration options in config.inc.php to fit phpWebFTP to your needs. (more information below).

What are the configuration options?
Open the config.inc.php that resides in the root directory of your phpWebFTP installation.

  • maxFileSize Enter the maximum download size in Bytes. Make sure that your php configuration allows the same size (e.g. upload_max_filesize = 20M and post_max_size = 20M).
    Default value : 2000000
  • downloadDir Enter the full path to the directory to store temporary files. The directory must be writable for the apache/php process owner (usualy ‘apache’ or ‘nobody’).
    note: do not use the same directory that php uses to store session data (usually /tmp/).
    default value : “tmp/”
  • resumeDownload Resume download is only supported by PHP version 4.3.0 and higher
    default value : false
  • defaultLanguage Use the defaultLanguage variable to set a static language. Please check the includes/language directory for available languages
    default value : “”
  • defaultServer Use the defaultServer variable to set a static server rather then having the user type a server. This could be usefull for ISP’s that use phpWebFTP for their customers and only want to provide access to their own servers.
    default value : “”
  • editDefaultServer In combination with the defaultServer variable. This option can be used to allow or deny users to edit the default server.
    default value : true
  • clearTemp If set on true, WebFTP will empty the temporary download directory after each file upload and download.
    default value : true