• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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