set process_control_timeout in php-fpm to prevent web admin failing to redirect after website/user installs

This commit is contained in:
Matthew Saunders Brown 2023-07-05 11:01:35 -07:00
parent a25a906866
commit 999993855a

View File

@ -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