Php is working ok. I have a script at
http://dennyp.com/ubbthreads/ubbthreadsoos.php that works fine.
As noted 5 postings above,I reloaded all the original ubbthreads directory files from a backup on my old server. The config file is not hosed anymore.