Yep you have to add #!/usr/bin/php4 to the top of each file except main.inc.php, config.inc.php, and the language files. Then create a .htaccess file and add this line to it.
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.