• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question PHP-FPM still php5-cgi processes

lucflash

New Pleskian
Hey guys,

after long time of passive member in this community, i have my first question.
On our Webserver (Debian, Plesk 12.5, nginx reverse proxy for apache) wie installed php7 package of plesk team and switched php interpreter to "fpm-process served by nginx"

while we watch at our processes by "top" we still see php5-cgi processes. Is this correct oder did we miss something? PHP modul is still activated in apache (but useless?)

i thought the nginx server processes the request directly to php-fpm, what does the php5-cgi process do? and what job the apache has to do, while php and static content is served by nginx?

i hope you could enlighten me
 
hey IgorG, thanks for pointing me to the right article
if i understand it right, plesk/nginx/apache detect, that .htaccess rewrite is used and handled the request by apache and in that case by php5-cgi
we dont use .html or .htm suffixes but www.domain.org/product/tshirt

if we remove the htaccess file and transform that rewriting to nginx conf, php5-cgi wont be ask again?
 
Back
Top