file_exists(): open_basedir restriction in effect.
Posted: Wed Jul 12, 2017 10:53 am
Hi,
I just installed VestaCP on my VPS server and it's awesome. but I got a problem with my WordPress site. it's showing this error.
I searched a little bit about this problem and applied below fixes but none of those worked.
I tried to add the below codes to /usr/local/vesta/data/templates/web/apache2/basedir.stpl file but those are already there.
Also, I tried to disable the open_base settings in the php.ini file.
My site's some plugins and media library not working correctly. Can somebody help to figure this out?
Thanks
I just installed VestaCP on my VPS server and it's awesome. but I got a problem with my WordPress site. it's showing this error.
Code: Select all
file_exists(): open_basedir restriction in effect.
I tried to add the below codes to /usr/local/vesta/data/templates/web/apache2/basedir.stpl file but those are already there.
Code: Select all
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
Code: Select all
php_admin_value upload_tmp_dir %home%/%user%/tmp
Code: Select all
php_admin_value session.save_path %home%/%user%/tmp
Code: Select all
open_basedir = none
Thanks