Add PHP5 and public-dir setup