About port 9000 of PHP+Nginx,Fastcgi.

location ~ .php (. *) ${

fastcgi_pass    127.0.0.1:9000;
fastcgi_index  index.php;
...

}
PHP 5.6
.
how can I configure port 9000 to match nginx self-startup?
currently needs to execute manually: php-cgi-b 127.0.0.1 br 9000 command
to open port 9000.

Mar.16,2021

php's persistent connections rely on php-fpm, and php-fpm is a tool that comes with php. Take centos7 as an example, start php-fpm and use systemctl start php-fpm

Menu