If it's in cgi-mode then any php files need to be set to executable just like your perl scripts. You would also see a path to php at the top in any php files, like #!/usr/bin/php. They'd also need to be in a directory that allowed execution, like a cgi-bin.
If not then your php files will work with standard read or read/write permissions just like html files.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.