for anyone else who might be experiencing this, PHP "safe mode" is not supported and is officially deprecated in PHP 5.3 and removed completely in 5.4.. If your host is using safe mode, ask them to update to the latest stable version of PHP and harden the security using suPHP and suhosin.