Add php extension correctly, give permissions on www folder