So, I’ve also got this problem.
I’ve read some about it here on the forums, but still can’t get it to work. Basically it tells me that my /tmp folder isn’t within the allowed path(s). I’ve tried some different commands like
define('WP_TEMP_DIR','/tmp'); define('WP_TEMP_DIR', ini_get('upload_tmp_dir')); putenv('TMPDIR=' . ini_get('upload_tmp_dir')); putenv('TMPDIR=/path/to/my/web/hosting/directory/www/tmp/');
well, think that’s all… and none of those work. What am I doing wrong? As far as I can tell the path to my root is:
and the path for my httpdocs is:
I’m httpdocs I’ve created a tmp folder with the correct attributes, and now I try to link it, but it won’t work… I’ve tried alot of different options, and now I come to you for help.
- The topic ‘open_basedir restriction in effect’ is closed to new replies.