safe_mode is not On!
For Ensim "high security" sites edit the /home/virtual/sitename/etc/php.ini
for Ensim "Medium security" do this:
echo "php_admin_flag safe_mode On" >> /etc/httpd/conf/sitexx/php
Otherwise change it in the /etc/php.ini:
safe_mode = On