changes extension to php