mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-23 09:51:32 -05:00
Add missing sudo
This commit is contained in:
parent
751cca54bd
commit
f06107063a
@ -54,5 +54,5 @@ unpriv curl -LsS https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/ma
|
|||||||
# Fix PHP permission
|
# Fix PHP permission
|
||||||
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
|
||||||
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 restart php-fpm
|
sudo systemctl restart php-fpm
|
Loading…
Reference in New Issue
Block a user