PHP 5.6 Ubuntu und Plesk?

Shorty1968

Erfahrenes Mitglied
Hallo,
ich musste meinen Server von Debian auf Ubuntu umstellen und muss nun in Plesk php 5.6 Installieren mit Debian hat es mit Folgendem geklappt.
Code:
Plesk Debian
apt-get update && apt-get install ca-certificates

apt install apt-transport-https lsb-release ca-certificates -y
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list

apt-get update
apt-get install php5.6 php5.6-fpm php5.6-cgi php5.6-mysql php5.6-xsl php5.6-xml php5.6-tidy php5.6-recode php5.6-mcrypt php5.6-mbstring php5.6-intl php5.6-gd php5.6-curl php5.6-json php5.6-imagick php5.6-bcmath php5.6-readline php5.6-sqlite3

plesk bin php_handler --add -displayname "5.6 by sury.org" -path /usr/bin/php-cgi5.6 -clipath /usr/bin/php5.6 -phpini /etc/php/5.6/cgi/etc/php.ini -type cgi -id "php56-cgi"
plesk bin php_handler --add -displayname "5.6 by sury.org" -path /usr/bin/php-cgi5.6 -clipath /usr/bin/php5.6 -phpini /etc/php/5.6/cgi/etc/php.ini -type fastcgi -id "php56-fastcgi"
plesk bin php_handler --add -displayname "5.6 by sury.org" -path /usr/sbin/php-fpm5.6 -clipath /usr/bin/php5.6 -phpini /etc/php/5.6/fpm/etc/php.ini -type fpm -service php5.6-fpm -poold /etc/php/5.6/fpm/pool.d -id "php56-fpm"
wenn ich das bei Ubuntu versuche bekomme ich.
{code]
Unable to register the PHP handler: Binary /usr/sbin/php-fpm5.6 doesn't exists
Unable to register the PHP handler: can not get version from /usr/bin/php-cgi5.6 doesn't exists
[/code]
Was muss ich für Ubuntu ändern?
 
Ich weiß aber ich habe eine Software die läuft nur mit php 5.6 und die Nachfolger Version läuft mit php 7 auch nicht fehlerfrei.
 
Zurück