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.
Warning: require_once(): open_basedir и 2 домена
Warning: require_once(): open_basedir и 2 домена
Добрый день, имею проблему. Свежая vps ubuntu 18, на первом домене сайт работал нормально, добавляю домен и там точно такой же сайт, выдал такие ошибки. Причем выдает их не постоянно, закономерность не выявил.
Нашел на форуме похожую проблему (viewtopic.php?t=13404), в моем случае нужно редактировать:
/usr/local/vesta/data/templates/web/apache2/default.stpl & default.tpl
А что именно надо добавить что бы на любых доменах такие ошибки не вылезали?
Попробовал вообще отключить (php_admin_value open_basedir "none") + перезагрузка, ошибки вылезают
Нашел на форуме похожую проблему (viewtopic.php?t=13404), в моем случае нужно редактировать:
/usr/local/vesta/data/templates/web/apache2/default.stpl & default.tpl
А что именно надо добавить что бы на любых доменах такие ошибки не вылезали?
Попробовал вообще отключить (php_admin_value open_basedir "none") + перезагрузка, ошибки вылезают
Warning: require_once(): open_basedir restriction in effect. File(/home/admin/web/ДОМЕН1) is not within the allowed path(s): (/home/admin/web/ДОМЕН2/public_html:/home/admin/tmp) in phar:///home/admin/web/ДОМЕН2/public_html/bases/geoip2.phar/phar-stub.php on line 3
Warning: require_once(): open_basedir restriction in effect. File(/home/admin/web/ДОМЕН1/public_html/bases/geoip2.phar) is not within the allowed path(s): (/home/admin/web/ДОМЕН2/public_html:/home/admin/tmp) in phar:///home/admin/web/ДОМЕН2/public_html/bases/geoip2.phar/phar-stub.php on line 3
Warning: require_once(): open_basedir restriction in effect. File(/home/admin/web/ДОМЕН1/public_html/bases/geoip2.phar/vendor/autoload.php) is not within the allowed path(s): (/home/admin/web/ДОМЕН2/public_html:/home/admin/tmp) in phar:///home/admin/web/ДОМЕН2/public_html/bases/geoip2.phar/phar-stub.php on line 3
Warning: require_once(phar:///home/admin/web/ДОМЕН1/public_html/bases/geoip2.phar/vendor/autoload.php): failed to open stream: phar error: invalid url or non-existent phar "phar:///home/admin/web/ДОМЕН1/public_html/bases/geoip2.phar/vendor/autoload.php" in phar:///home/admin/web/ДОМЕН2/public_html/bases/geoip2.phar/phar-stub.php on line 3
Fatal error: require_once(): Failed opening required 'phar:///home/admin/web/ДОМЕН1/public_html/bases/geoip2.phar/vendor/autoload.php' (include_path='.:/usr/share/php') in phar:///home/admin/web/ДОМЕН2/public_html/bases/geoip2.phar/phar-stub.php on line 3