file_exists(): open_basedir restriction in effect.
file_exists(): open_basedir restriction in effect.
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
Re: file_exists(): open_basedir restriction in effect.
Why are you using basedir template mate ? You can use another one, also more optimized, like phpfcgid. Basedir template includes basedir restriction, so no reason to use it or edit it...just jump it.