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 in effect
open_basedir restriction in effect
Hello guys,
I know that there is already discussed this subject, but i cannot solve it....
The error that i get:
yii\base\NotSupportedException: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s) ....
I added in basedir.tpl/stpl the following:
php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/tmp
php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp
But the problem is still there.
The problem that i have on my website is that the thumbnails are not displayed.
Any help?
Thanks!
I know that there is already discussed this subject, but i cannot solve it....
The error that i get:
yii\base\NotSupportedException: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s) ....
I added in basedir.tpl/stpl the following:
php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/tmp
php_admin_value upload_tmp_dir %home%/%user%/tmp
php_admin_value session.save_path %home%/%user%/tmp
But the problem is still there.
The problem that i have on my website is that the thumbnails are not displayed.
Any help?
Thanks!
Re: open_basedir restriction in effect
why? /tmp
/home/.....
/home/.....
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: open_basedir restriction in effect
Did you rebuild web and restart apache for your changes take effect?
Re: open_basedir restriction in effect
yes, i rebuild.. but nothing happens..
I think i found the solution. I'll come back after my vps get alive :) is dead now..
I think i found the solution. I'll come back after my vps get alive :) is dead now..
-
- Posts: 1
- Joined: Sat Mar 02, 2019 9:06 am
- Os: CentOS 6x
- Web: apache + nginx
Re: open_basedir restriction in effect
I have solve my problem by selecting hosting template on the VestaCP website configuration
-
- Posts: 3
- Joined: Mon Aug 12, 2019 7:20 am
- Os: Ubuntu 12x
- Web: apache + nginx
Re: open_basedir restriction in effect
How did you fix this issue? stuck in this from last two days
Regards,
HItesh Chauhan
Last edited by imperio on Thu Aug 15, 2019 9:28 am, edited 1 time in total.
Reason: Links to another sites is not allowed
Reason: Links to another sites is not allowed
Re: open_basedir restriction in effect
In fact I have copied the default templates to a new ones, and I have commented out the openbase_dir directive for the websites which had difficulties to run with default template.
I'm selecting it on the website configuration and that is all. Normally you don't have to restart apache2.
I'm selecting it on the website configuration and that is all. Normally you don't have to restart apache2.