• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Question Error installing custom php 5.6.38

danim

Basic Pleskian
Server operating system version
AlmaLinux 8.8 (Sapphire Caracal)
Plesk version and microupdate number
Plesk Obsidian v18.0.55_build1800230907.05 os_RedHat el8
Hi,

I've been following the guide titled "How to Add a Custom PHP Version in Plesk for Linux." Everything was going smoothly until I reached the step to register the PHP handler.

I encountered an error that I can't seem to resolve:

Unable to register the PHP handler: php-fpm-5.6.38: service not found.

Below is the command I've been trying to execute for registering the PHP handler:

Code:
plesk bin php_handler --add \
-displayname "5.6.38" \
-path "/usr/local/php56/sbin/php-fpm" \
-phpini "/usr/local/lib/php.ini" \
-type fpm \
-id "5.6.38-custom" \
-clipath "/usr/local/php56/sbin/php-fpm" \
-service "php-fpm-5.6.38" \
-poold "/etc/php5-fpm/pool.d"

Any clue?
 
Back
Top