LINUX.ORG.RU
ФорумJob

Нужно решить ошибку связка апача+hopebilling+hestiacp Warning: file_exists()

 


0

1

Warning: file_exists(): open_basedir restriction in effect.
File(/home/lotric/web/bill.123.ru/public_html/app//modules/billmanagervps.zip/billmanagervps.zip.php)
is not within the allowed path(s): (
/home/lotric/web/bill.123.ru/public_html:/home/lotric/web/bill.123.ru/public_shtml:/home/lotric/tmp:/var/www/html:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/phppgadmin:/etc/roundcube:/var/lib/roundcube:/tmp:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt
) in /home/lotric/web/bill.123.ru/public_html/app/classes/System/Module.php on line 109

нагуглил типа решение:
php_admin_value open_basedir надо добавить эти пути в vhost.conf и vhost_ssl.conf

но у меня hestiacp там все файлы где отношение к VirtualHost
написано DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS

в манах панели написано

How can I change settings for a specific domain​
With the switch to PHP-FPM there are currently 2 different ways.
1# Using user.ini in the directory 2# Via PHP-FPM pool config
Config templates for the PHP pool can be found in
Template locations
Service Location
PHP-FPM /usr/local/hestia/data/templates/web/php-fpm/
Due to the fact we use multi PHP we need to recognise the PHP version to be used. There for we follow the following naming.
YOURNAME-PHP-X_Y.tpl

There X_Y is your PHP version


Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.