YaFM is a web-based file manager written in PHP.
It allows you to upload, download, view, edit, copy, move/rename, change permissions and owner group of a single file or a group of files which reside on a unix filesystem local to the script.
It does not require MySQL (although you can easily implement a SQL-based authenticationscheme if you need one).
It should be relatively easy to change the look and feel of YaFM since I've tried to keep PHP code and HTML separate (the current look and feel is based on Adam Sutton's phpFtp)
Note: most of these instructions apply to RedHat-like systems. In RedHat the default webroot for apache is /var/www/html and CGI programs are placed into /var/www/cgi-bin and this layout is respected in the .tar.gz archives and RPMs you've downloaded from
Also the assumed location of your php CGI executable is /usr/bin/php and the PHP configuration file is assumed to be in /etc/php.ini If your installation differs or you want to install YaFM to another location please extract the archives manually, also you may have to modify the first line of the yafm.phps script!
If you've got the .tar.gz package install it as follows:
# tar --directory=/ -xvzf /path/to/yafm-release.tar.gz
If you've got the .tar.bz2 package install it as follows:
# bzcat /path/to/yafm-release.tar.bz2 | tar --directory=/ -xv
If you've got the RPM, install it as follows:
# rpm -Uvh /path/to/fileman-release.rpm
(note: replace yafm-release with the respective release number, e.g. yafm-1.0.5)
Now you should have a working YaFM installation, you can access it at
WARNING: by default two accounts are created user1 with password1 and
user2 with password2. Please edit the login.inc file to change accounts
What's New in This Release:
This is a new feature and bugfix release of YaFM but there may still be a few gotchas.
· File Finder implemented
· HTTPS compatible (https://yourhost/cgi-bin/yafm.phps now works)
· You can keep using YaFM while a download is in progress
· Downloads only timeout after one hour
· Login fixes
· YaFM looks better now on Internet Explorer
· More layout fixes