open_basedir
Posted: Wed Jan 19, 2022 3:25 pm
Trying to manually install an app and I keep getting: 'realpath(): open_basedir restriction in effect. File(/home/admin/web/temp.com) is not within the allowed path(s): (/home/admin/web/temp.com/public_html:/home/admin/tmp)'
I've already modified /usr/local/vesta/data/templates/web/apache2/basedir.stpl to have php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/tmp and rebuilt web, didn't fix it. Changed it to open_basedir non and rebuilt, still didn't fix it. Anyone know what I need to do to fix this?
I've already modified /usr/local/vesta/data/templates/web/apache2/basedir.stpl to have php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/tmp and rebuilt web, didn't fix it. Changed it to open_basedir non and rebuilt, still didn't fix it. Anyone know what I need to do to fix this?