• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Question Error installing custom php 5.6.38

danimora

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