renaming index file to php extention