Install PHP5

... apparently, php5-curl can be installed without php5...
Enable mod_rewrite for Apache