Question ubuntu 18.04 lts php 5.6

Lordi

New Pleskian
Server operating system version
ubuntu 18.04
Plesk version and microupdate number
18.0.66
Hello, Since I still have an old website I wanted to put PHP5.6 on it and did it according to these instructions



plesk bin php_handler --add -displayname 5.6.39 -path /usr/local/php56/sbin/php-fpm -phpini /usr/local/lib/php.ini -type fpm -id 5.6fpm -clipath /usr/local/php56/bin/php -service php56-fpm -poold /usr/local/php56/etc/


only now I get the error Unable to register the PHP handler: php56-fpm: service not found.

Can someone help me who knows more about this? Unfortunately, my friend who always did everything for me has passed away. Now I have to find a solution.
 
Hello, @Lordi. Sincere condolences. It looks like a service has not been registered for this PHP version yet. In order to manually create a service for the PHP handler the *.service file from the downloaded source needs to be copied to the local configuration.
 
Thanks for your answer, is there also a guide where I can find this file or where exactly it should go because I'm new to this and I have to familiarize myself with everything first
 
Back
Top