yum安装的Nginx和编译安装的PHP出现502
心血来潮想试试在各种安装方式下的服务之间的耦合度。
PHP的配置内容:
[test]
listen = /tmp/php_test.sock
listen.mode = 666
user = php-fpm
group = php-fpm
pm = dynamic
pm.max_children = 50
pm.start_servers = 20
pm.min_spare_servers = 5
pm.max_spare_servers = 35
pm.max_requests = 500
rlimit_files = 1024