I had something kinda like this when I was trying to get php installed with apache on a linux box. It had to do with the directory permissions. I had them set to the ubbt specs, but they didn't work. If memory serves I had to change the upload directory to chmod 777? I forget, it's been a while. Maybe this will help if this is the issue you are experiencing.
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.