Note: We are aware that some of our clients’ websites that are using PHP 7.3 FPM are experiencing problems with the availability. These problems are caused by PHP 7.3 itself, and the relevant issues have already been reported to the PHP developers. Plesk receives PHP updates within two days of the official update releases, so we expect to provide our clients with the solution shortly after the PHP project makes it publicly available. Until then, we recommend to temporarily postpone creating new or moving existing websites to PHP 7.3 in FPM mode. Note that we will temporary remove PHP 7.3 from “Recommended” set of Plesk components.
- Plesk Onyx for Linux
After switching PHP handler for domains to PHP 7.3 FPM (Domains > example.com > PHP Settings) they return a "Service Unavailable" error page after a short time of normal work.
plesk-php73-fpmservice is in
CONFIG_TEXT: # service plesk-php73-fpm status
Active: failed (Result: signal) since Sat 2019-01-19 01:49:35 CET; 1 day 20h ago
The following warnings can be found in
/var/log/messagesin regards to
CONFIG_TEXT: server kernel: [3332936.259826] php-fpm: segfault at 104 ip 00005569b7efc08f sp 00007ffcb0f7ce50 error 4 in php-fpm[5569b7b4c000+4aa000]
server systemd: plesk-php73-fpm.service: Main process exited, code=killed, status=11/SEGV
server systemd: plesk-php73-fpm.service: Unit entered failed state.
server systemd: plesk-php73-fpm.service: Failed with result 'signal'.
The following errors are shown in domain logs
/var/www/vhosts/system/example.com/error_logwhen this happens:
CONFIG_TEXT: [proxy:error] [pid 3469982:tid 140216581150464] (111)Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /var/www/vhosts/system/example.com/php-fpm.sock (*) failed
[proxy_fcgi:error] [pid 3469982:tid 140216581150464] AH01079: failed to make connection to backend: httpd-UDS
Until a permanent fix becomes available use the following workaround:
Switch websites from PHP 7.3 FPM handler to another one:
Go to Domains > example.com > PHP Settings and change the
PHP 7.3 FPMhandler, for example, to
PHP 7.2 FPM.
To change PHP handler via CLI for multiple domains follow the steps from the article: How to apply new PHP handler to multiple domains via CLI? or the following command:
# plesk bin php_handler --replace -old-id plesk-php73-fpm -new-id plesk-php72-fpm