Thank you for your post.
To turn on PHP for a file, log in as the Admin user, pull down the File menu and select "Manage -> Accounts & Privileges...". Click on the "Extended Privileges" tab. Select the last option "fmphp Access via PHP Web Publishing - FMS only". Click the "Edit..." button, and put a check mark in the [Full Access] privilege set (Admin active account), and for any other privilege sets that you deem necessary.
Now, when you load it into FileMaker Server, go into FileMaker Server Admin Console and verify the hosting is properly configured for the database.