Playing with Silex to (re)build the old MyFTP Admin
PHP JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This application allows to manage and monitor ProFTPd accounts. I used a custom MyFTP Admin (v0.6.1) for a while, since I lost everything from this custom version, I decided to quickly rebuild one using Silex.


First of all, I built this app to fit my needs about managing ftp's users with MySQL and ProFTPd. I'll be very happy if you want to add some functionnalities and I'm waiting your PRs :-)

This app doesn't (yet?) handle :

  • quota for users
  • groups management

This app runs perfectly :

  • users management
  • transfers (informations about downloaded/uploaded file)
  • errors browsing

Of course, this app runs with PHP 5.3 (check Silex configuration) and MySQL.


# clone the repository
git clone --recursive git://

# create and customize your config.php
cd SilexProFTPd/
cp src/config.php.dist src/config.php

ProFTPd configuration

You will find a part of my proftpd.conf about the server configuration.

If you don't have a proftpd database right now, you can use database.sql file to create empty table.

Webserver configuration

  • Apache users: you don't have to care about this part. It's done by the .htaccess file. You might have to uncomment the second line if you got some troubles.
  • Lighttpd users: here is the config for your simple-vhost:
  server.document-root = "/path/to/SilexProFTPd"

  url.rewrite-once = (
    "^/assets/.+" => "$0", # directories with static files
    "^/favicon\.ico$" => "$0",
    "^(/[^\?]*)(\?.*)?" => "/index.php$1$2" # default application