changed extensions and added php extensions inside the file.