Enabled or activate php on the webserver

To do what you’re trying to do, run php on the box hosted websites, is unsupported but possible. I suggest you review this thread: Is atleast being able to toggle PHP planned?