Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

file_exists(): open_basedir restriction in effect.

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
mhpc
Posts: 1
Joined: Wed Jul 12, 2017 10:44 am

file_exists(): open_basedir restriction in effect.
  • Quote

Post by mhpc » 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.

Code: Select all

file_exists(): open_basedir restriction in effect.
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.

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
Also, I tried to disable the open_base settings in the php.ini file.

Code: Select all

open_basedir = none
My site's some plugins and media library not working correctly. Can somebody help to figure this out?

Thanks
Top

demlasjr
Posts: 74
Joined: Thu Feb 27, 2014 8:50 pm

Re: file_exists(): open_basedir restriction in effect.
  • Quote

Post by demlasjr » Wed Jul 12, 2017 9:21 pm

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.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password