1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-24 18:21:34 -05:00

Update RHEL-9-LEMP.sh

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-07-28 16:04:24 -07:00 committed by GitHub
parent 7ad9c64ef8
commit 8febd18b4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,4 +62,4 @@ unpriv curl -LsS https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/ma
sudo sed -i 's/user = apache/user = nginx/g' /etc/php-fpm.d/www.conf sudo sed -i 's/user = apache/user = nginx/g' /etc/php-fpm.d/www.conf
sudo sed -i 's/group = apache/group = nginx/g' /etc/php-fpm.d/www.conf sudo sed -i 's/group = apache/group = nginx/g' /etc/php-fpm.d/www.conf
sudo chgrp nginx /var/lib/php/opcache /var/lib/php/session /var/lib/php/wsdlcache sudo chgrp nginx /var/lib/php/opcache /var/lib/php/session /var/lib/php/wsdlcache
sudo systemctl enable --now php-fpm sudo systemctl restart php-fpm