MyBB Community Forums

Full Version: open_basedir and upload!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

My forum doesn't upload whenever open_basedir turned on:
_Attachment
_Avatar

In my case, i config: php_admin_value open_basedir /A/B/forum

How can fix this problem?
Ok, solved:

php_admin_value open_basedir "/A/B/forum:/A/B/tmp"
php_admin_value upload_tmp_dir /A/B/tmp

mkdir /A/B/tmp

chmod -R 777 /A/B/tmp/