• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved PHP-FPM Error

DieterWerner

Regular Pleskian
# /usr/local/psa/admin/bin/phpinimng --type fpm --start --service-name php-fpm
output: file or directory not found

What's going wrong?

OS: CentOS7
Plesk: 17.8.43
PHP: by vendor as well as 7.2.15
 
Instead, please try
# service php-fpm start
# service plesk-php56-fpm start
# service plesk-php70-fpm start
# service plesk-php71-fpm start
# service plesk-php72-fpm start
# service plesk-php73.fpm start
 
# service plesk-php72-fpm start
Error output:
/etc/sysctl.d$ service plesk-php72-fpm restart
Redirecting to /bin/systemctl start plesk-php72-fpm.service

This one failed too:
# /usr/local/psa/admin/bin/phpinimng --type fpm --start --service-name php72-fpm
Failed to start php72-fpm.service: Unit not found.
Failed to start php72-fpm service
 
The first one is not an error. You can see the current service status by running
# service plesk-php72-fpm status

The second error is caused by the wrong service name. The service name is plesk-php72-fpm, not php72-fpm.
 
The first one is not an error. You can see the current service status by running
# service plesk-php72-fpm status

The second error is caused by the wrong service name. The service name is plesk-php72-fpm, not php72-fpm.
Just another surprise by plesk o_O

Edit:
I forgot to mention the content of the html page of Watchdog
<input type="text" id="fid-start_cmd" name="start_cmd" value="/usr/local/psa/admin/bin/phpinimng --type fpm --start --service-name php-fpm" size="40" maxlength="255"/>
<input type="text" id="fid-stop_cmd" name="stop_cmd" value="/usr/local/psa/admin/bin/phpinimng --type fpm --stop --service-name php-fpm" size="40" maxlength="255"/>

I think, someone should change that.
 
Last edited:
Back
Top