Unable to start plesk-php71-fpm service: Starting PHP FastCGI Process Manager: php-fpm failed!

Created:

2017-08-12 03:54:53 UTC

Modified:

2017-08-12 04:37:06 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to start plesk-php71-fpm service: Starting PHP FastCGI Process Manager: php-fpm failed!

Symptoms

1. There is no any errors if switch php handler of domain to plesk-php71-fpm.

2. Unable to start plesk-php71-fpm service:

# service plesk-php71-fpm start
[FAIL] Starting PHP FastCGI Process Manager: php-fpm failed!Log /var/log/plesk-php71-fpm/error.log doesn't contain any information

3. Log /var/log/plesk-php71-fpm/error.log doesn't contain any information.

4. It's not possible to get php version:

# /opt/plesk/php/7.1/sbin/php-fpm -v
The ionCube Loader is a Zend-Engine extension and not a module
Please specify the Loader using 'zend_extension' in php.ini

Cause

Incorrect ionCube Loader extension configuration. 

Resolution

  1. Find ionCube extension and make sure that it's set as zend_extension=ioncube_loader_lin_7.1.so but not just extension=ioncube_loader_lin_7.1.so:

    # grep -ir ionCube /opt/plesk/php/7.1/etc/*
    /opt/plesk/php/7.1/etc/php.d/ioncube.ini:extension=ioncube_loader_lin_7.1.so

    ionCube should be defined as extension:

    # cat /opt/plesk/php/7.1/etc/php.d/ioncube.ini | grep -v ";"
    zend_extension=ioncube_loader_lin_7.1.so

  2. ionCube should be loaded first, rename ioncube.ini to 00-ioncube-loader.ini:

    # mv /opt/plesk/php/7.1/etc/php.d/ioncube.ini /opt/plesk/php/7.1/etc/php.d/00-ioncube-loader.ini

  3. Switch php handler for domain from plesk-php71-fpm to something else and back to plesk-php71-fpm. This action should recreate configuration file and start plesk-php71-fpm service.
Have more questions? Submit a request
Please sign in to leave a comment.