Setup Apache2.4 (Ubuntu 13.10)
http://www.binarytides.com/install-apache-ubuntu-13-10/
Setup mailserver:
Very good information (working out of the box, just 5 first commands):
http://ubuntuguide.org/wiki/Mail_Server_setup
Follow-up information for virtual domains etc:
https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto
Enable user_mod (user directory php) and Restart Apache
sudo emacs /etc/apache2/mods-available/php5.conf
comment away:
# <IfModule mod_userdir.c> # <Directory /home/*/public_html> # php_admin_value engine Off # </Directory> # </IfModule>
sudo service apache2 restart
(Eller sudo /etc/init.d/apache2 restart
and you might be done!)
Complete copy of the entire post: