The TPCS hosting package will allow your friends to log into your Apache server, create an account then design their homepage and have it hosted off your server. If your website is http://www.example.com and your friend creates the account foobar then his/her homepage will be located at http://www.example.com/foobar.
You will need an Apache server with Perl installed and SSHD and HTTPD services configured and running. If you want to use the mySQL database scripts you will also need PHP installed with the proper mySQL modules etc...If you port the SQL scripts to Perl or create a web interface for this code let me know!!