- Plesk Onyx 17.5 for Linux
Switch to PHP-FPM fails with the following error:
PLESK_ERROR: Error: phpinimng failed: Unable to update the config file for 'fpm' service due to syntax errors.
Executing affected PHP handler binary in a command line leads to the error below:
# /opt/plesk/php/5.6/bin/php -v
PHP Fatal error: PHP Startup: Cannot use both zlib.output_compression and output_handler together!! in Unknown on line 0
Note: For an example, Plesk PHP 5.6 handler is used.
- Connect to the server over SSH
- Edit affected PHP handler
php.iniand fix errors reported by php