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.
How can i disable open_basedir settings.
How can i disable open_basedir settings.
How can i disable open_basedir settings to install my php script.
i tried to disable open_basedir with php.ini .but it didn't changed .
My current vestacp information :
PHP 7
Centos 7.3
This has been discussed many a times if you cared to search
https://www.google.com/search?q=vestacp+open_basedir
TIP**
in your /home/vestauser/conf/web/apache2.conf file you need to comment this line or adjust access to directories as needed.
i tried to disable open_basedir with php.ini .but it didn't changed .
My current vestacp information :
PHP 7
Centos 7.3
This has been discussed many a times if you cared to search
https://www.google.com/search?q=vestacp+open_basedir
TIP**
in your /home/vestauser/conf/web/apache2.conf file you need to comment this line or adjust access to directories as needed.
Code: Select all
php_admin_value open_basedir ...
Re: How can i disable open_basedir settings.
you can edit the template files that are used to create apache2.conf and sapache2.conf here
rebuild the user profile afterwards via the dashboard to automatically update already created config files
Code: Select all
/usr/local/vesta/data/templates/web/apache2/default.tpl
/usr/local/vesta/data/templates/web/apache2/default.stpl
Re: How can i disable open_basedir settings.
So the issue was fixed:
The file to edit was:
/home/admin/conf/web/httpd.conf
And I had to comment php_admin_value open_basedir “none” to
php_admin_value open_basedir /home/admin/web/xxx.com/public_html:/home/admin/tmp
Save and restart your apache web server using
service httpd restart
The file to edit was:
/home/admin/conf/web/httpd.conf
And I had to comment php_admin_value open_basedir “none” to
php_admin_value open_basedir /home/admin/web/xxx.com/public_html:/home/admin/tmp
Save and restart your apache web server using
service httpd restart
Re: How can i disable open_basedir settings.
Note that your changes will disappear if you ever rebuild the web config. To make the changes permanent you need to also edit the template files that are used to rebuild the config as suggested above.
Even better, copy the templates to new files, edit those, and then select the template from the control panel.
Even better, copy the templates to new files, edit those, and then select the template from the control panel.