Версия пакета: webgrind-1.9.3-alt1 Платформа: Alt Workstation 10.2 обновленная до Sisyphus Шаги к воспроизведению: 1) # apt-get install php8.2 php8.2-xdebug php8.2-fpm-fcgi webgrind apache2-mod_php8.2 Настроить webgrind: Редактируем конфигурацию apache в файле /etc/httpd2/conf/sites-enabled/000-default.conf: ``` DocumentRoot "/var/www/webapps" ``` В этом же файле редактируем: ``` <Directory "/var/www/webapps"> # Summary: Configure for html documents in DocumentRoot # Requires: Directory-html Include conf/include/Directory_html_default.conf Require all granted </Directory> ``` # systemctl start httpd2.service php8.2-fpm.service # vim /etc/php/8.2/cli/php.ini Добавить в файл: [xdebug] xdebug.mode = profile xdebug.output_dir = "/" xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 1 # vim /var/www/webapps/webgrind/config.php Поменять значение строк: static $storageDir = '/var/www/webapps/webgrind'; static $profilerDir = '/' static $pythonExecutable = '/usr/bin/python3'; # mkdir /var/tmp/xdebug && chown apache2:apache2 /var/tmp/xdebug && chmod 775 /var/tmp/xdebug Зайти на веб-страницу http://localhost/webgrind Ожидаемый результат: Открывается главная страница webgrind без ошибок. Реальный результат: На главной странице ошибка "Webgrind $storageDir does not exist or is not writeable: /var/www/webapps/webgrind/"