We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
open_basedir restriction
open_basedir restriction
Dears ,
I have a VestaCP installation running on Ubuntu 16.04 .
I have a wordpress plugin that gives the folowing error
can you please help me on how I should fix this error and remove open_basedir restriction on the tmp folder and get the plugin to work?
Thanks alot
I have a VestaCP installation running on Ubuntu 16.04 .
I have a wordpress plugin that gives the folowing error
Code: Select all
Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/user1/web/mywebsite.com/public_html:/home/user1/tmp) in /home/user1/web/mywebsite.com/public_html/wp-content/plugins/reportbuilder/lib/PHPWord/TemplateProcessor.php on line 76
Thanks alot
-
- Posts: 16
- Joined: Wed Jun 24, 2015 8:13 am
Re: open_basedir restriction
The /tmp folder should be default be allowed in open_basedir.
But you can check by editing AND
And then look for your domain and change/set the paths in php_admin_value open_basedir
But you can check by editing
Code: Select all
/home/user1/conf/web/apache2.conf
Code: Select all
/home/user1/conf/web/sapache2.conf
Re: open_basedir restriction
Dear peterbrinck ,
Thanks for your reply ,
actually there is no files apache2.conf and sapache2.conf in those path you provide !
in the path /home/user1/conf/web/ there is only the domain folders , if I am required to create the required files what shall I write there ?
Thanks .
Thanks for your reply ,
actually there is no files apache2.conf and sapache2.conf in those path you provide !
in the path /home/user1/conf/web/ there is only the domain folders , if I am required to create the required files what shall I write there ?
Thanks .