Changing index file to php