Add php and remove unused directory