OK, for fun I switched
safe_mode to
on... It didn't make a difference, it still worked.
Sooo here's what I did.
in
php.ini I have:
QUOTE
safe_mode = true
safe_mode_gid = Off
safe_mode_exec_dir = /nonexec
open_basedir = /tmp
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
now, in the domain for which you want to use this:
/usr/local/psa/home/vhosts/YOURDOMAIN/conf/
create a file
vhost.conf
This file should contain:
QUOTE
php_admin_value open_basedir "/usr/local/psa/home/vhosts/YOURDOMAIN/httpdocs:/tmp
php_admin_value upload_tmp_dir /tmp
Now restart Apache
/usr/local/psa/admin/bin/my_apci_rst
and it should work.... For me it does anyway....