Apache & Varnish Cache & Nginx Reverse Proxy
CentOS Linux release 7.4.1708 (Core) x86_64
Kernel Version: 3.10.0-693.17.1.el7.x86_64
Apache/2.4.2
nginx/1.12.2
PHP version: 5.6.30
suPHP version 0.7.2
Zend Engine v2.6.0 with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)
MySQL version: 10.1.30-MariaDB
CWPpro version: 0.9.8.436
SEL permitting
Mod Security disabled
Set in the nginx vhost
upstream php {
server 127.0.0.1:9000;
}
However nginx -t is complaining
no port in upstream "php-handler" / fastcgi_pass php-handler
/usr/local/etc/suphp.conf
[handlers]
application/x-httpd-php="php:/usr/local/bin/php-cgi"
application/x-httpd-php44="php:/opt/alt/php44/usr/bin/php-cgi"
application/x-httpd-php52="php:/opt/alt/php52/usr/bin/php-cgi"
application/x-httpd-php53="php:/opt/alt/php53/usr/bin/php-cgi"
application/x-httpd-php54="php:/opt/alt/php54/usr/bin/php-cgi"
application/x-httpd-php55="php:/opt/alt/php55/usr/bin/php-cgi"
application/x-httpd-php56="php:/opt/alt/php56/usr/bin/php-cgi"
application/x-httpd-php70="php:/opt/alt/php70/usr/bin/php-cgi"
application/x-httpd-php71="php:/opt/alt/php71/usr/bin/php-cgi"
x-suphp-cgi="execute:!self
CWP apparently did not install php-fpm and there is no process listening on port 9000. Is suphp supposed to handle upstream php and if so how?