1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 02:21:33 -05:00

Set proper /var/lib/php permission

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-04-16 03:54:09 -04:00 committed by GitHub
parent 2305429c0d
commit 901ae045c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,6 +328,8 @@ pm.max_children = 9
pm.process_idle_timeout = 10s pm.process_idle_timeout = 10s
pm.max_requests = 200 pm.max_requests = 200
EOF EOF
chgrp -R nginx /var/lib/php/{opcache,session,wsdlcache}
systemctl restart php-fpm systemctl restart php-fpm
output "Configuring Nginx web server..." output "Configuring Nginx web server..."