From 999993855af6aaf516f661c9c10e6861e5c2ab9d Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 5 Jul 2023 11:01:35 -0700 Subject: [PATCH] set process_control_timeout in php-fpm to prevent web admin failing to redirect after website/user installs --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1f9028b..d0f6413 100755 --- a/install.sh +++ b/install.sh @@ -5,6 +5,7 @@ chmod 755 /usr/local/bin/vpanel-verify-access.sh cp -a etc/* /etc/ chmod 440 /etc/sudoers.d/vpanel a2enconf vpanel +sed -i "s|;process_control_timeout = 0|process_control_timeout = 1s|g" /etc/php/8.1/fpm/php-fpm.conf service php8.1-fpm restart service apache2 restart cp -a panel /srv/www/html/ @@ -14,4 +15,3 @@ rm -r /srv/www/html/panel/f3/.git find /srv/www/html/panel -type d -exec chmod 755 {} + find /srv/www/html/panel -type f -exec chmod 644 {} + chown -R vpanel:vpanel /srv/www/html/panel -