From 90fb983ae19e7ce2e6e0bbb242535fbf5fe40173 Mon Sep 17 00:00:00 2001 From: gbaconni Date: Tue, 9 Nov 2021 08:30:33 +0100 Subject: [PATCH] 2021-11-09 08:30:33 --- bonus.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bonus.sh b/bonus.sh index b6e318d..3825976 100755 --- a/bonus.sh +++ b/bonus.sh @@ -6,7 +6,7 @@ # By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2021/11/07 14:23:18 by gbaconni #+# #+# # -# Updated: 2021/11/09 08:26:49 by gbaconni ### lausanne.ch # +# Updated: 2021/11/09 08:30:31 by gbaconni ### lausanne.ch # # # # **************************************************************************** # @@ -54,7 +54,6 @@ ft_lighttpd () > /etc/lighttpd/server.pem lighttpd-enable-mod fastcgi lighttpd-enable-mod fastcgi-php - lighttpd-enable-mod rewrite lighttpd-enable-mod ssl systemctl force-reload lighttpd fi @@ -68,7 +67,7 @@ ft_php () apt-get install -qq -y php php-fpm php-mysql sed -i -r 's/^;?(cgi.fix_pathinfo)=.*/\1=1/' /etc/php/7.4/fpm/php.ini sed -i -r 's|(listen =).*|\1 /run/php/php-fpm.sock|' /etc/php/7.4/fpm/pool.d/www.conf - systemctl restart php7.3-fpm + systemctl restart php7.4-fpm fi return 0 }