change index file to php