• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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