• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk 12.5 - how FastCGI by default? - not PHP-FPM!

A

adamjohnson

Guest
Hi threre,

in Plesk 12.5 is PHP-FPM the default PHP handler when Apache 2.4 is installed on the server. How can I change this without a hosting-plan?

With PHP-FPM there are frequent memory errors:

[Mon Nov 30 11:15:25.291092 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 4973 exit signal Segmentation fault (11)
[Mon Nov 30 11:15:25.291123 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 4974 exit signal Segmentation fault (11)
[Mon Nov 30 11:15:27.293834 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 5056 exit signal Segmentation fault (11)
[Mon Nov 30 11:15:28.297095 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 5084 exit signal Segmentation fault (11)
[Mon Nov 30 11:15:28.297140 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 5091 exit signal Segmentation fault (11)
[Mon Nov 30 11:15:29.298214 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 5140 exit signal Segmentation fault (11)
[Mon Nov 30 11:15:30.300082 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 5145 exit signal Segmentation fault (11)
[Mon Nov 30 11:15:30.300138 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 5169 exit signal Segmentation fault (11)
[Mon Nov 30 11:15:30.300165 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 5170 exit signal Segmentation fault (11)
[Mon Nov 30 11:15:32.304942 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 5281 exit signal Segmentation fault (11)
[Mon Nov 30 11:16:10.090586 2015] [core:notice] [pid 367:tid 140147708012608] AH00052: child pid 5356 exit signal Segmentation fault (11)

PHP-Version for the domain with Segmentation fault errors:
PHP 5.4 support (from OS vendor) and PHP-FPM crashes

I will gladly adjust FastCGI per default. Is this possible?

Many thanks for your help!
 
Last edited by a moderator:
Use Event manager for domain creation event and command

# plesk bin subscription

with option

-php_handler_id <php handler id> Associates the PHP handler with the site. Specify the handler's identifier (default: cgi).


<php handler id> can be found in output of command

# plesk bin php_handler --list
 
Back
Top