File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1070,6 +1070,7 @@ EEINFO()
10701070 # Collect Information From www.conf
10711071 PHPPINGPATH=$( grep ^ping.path /etc/php5/fpm/pool.d/www.conf | cut -d' =' -f2| cut -d' ' -f2)
10721072 PHPSTATUSPATH=$( grep ^pm.status_path /etc/php5/fpm/pool.d/www.conf | cut -d' =' -f2| cut -d' ' -f2)
1073+ PHPFPMPROCESS=$( grep " ^pm =" /etc/php5/fpm/pool.d/www.conf | awk ' {print $3}' )
10731074 PMMAXREQUEST=$( grep ^pm.max_requests /etc/php5/fpm/pool.d/www.conf | cut -d' =' -f2| cut -d' ' -f2)
10741075 PMMAXCHILDREN=$( grep ^pm.max_children /etc/php5/fpm/pool.d/www.conf | cut -d' =' -f2| cut -d' ' -f2)
10751076 PMSTARTSERVERS=$( grep ^pm.start_servers /etc/php5/fpm/pool.d/www.conf | cut -d' =' -f2| cut -d' ' -f2)
@@ -1087,6 +1088,7 @@ EEINFO()
10871088
10881089 echo -e " \033[34mPHP ping.path:\t\t\t \033[37m$PHPPINGPATH \e[0m"
10891090 echo -e " \033[34mPHP pm.status_path:\t\t \033[37m$PHPSTATUSPATH \e[0m"
1091+ echo -e " \033[34mPHP process manager:\t\t \033[37m$PHPFPMPROCESS \e[0m"
10901092 echo -e " \033[34mPHP pm.max_requests:\t\t \033[37m$PMMAXREQUEST \e[0m"
10911093 echo -e " \033[34mPHP pm.max_children:\t\t \033[37m$PMMAXCHILDREN \e[0m"
10921094 echo -e " \033[34mPHP pm.start_servers:\t\t \033[37m$PMSTARTSERVERS \e[0m"
You can’t perform that action at this time.
0 commit comments