Use '<?php' instead of '<?', various config changes, and removed unneeded code in do_systems_soap().
Revert reports.php chmod.