Page 1 of 1

open_basedir

Posted: Wed Jan 19, 2022 8:35 pm
by airrjw
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. I've also modified /home/admin/web/temp.com.apache2.conf to point /home/admin/web/temp.com/public_html/app and it still pops the exact same error. Anyone know a fix for this?