โค้ด: เลือกทั้งหมด
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
โค้ด: เลือกทั้งหมด
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
2. Install php 5.6 and its required modules
โค้ด: เลือกทั้งหมด
yum install php56.x86_64
3. Register the php.56 fcgi module with php, If all good you will get handler id and successfully registered message.
โค้ด: เลือกทั้งหมด
/usr/local/psa/bin/php_handler --add -displayname php-56 -path /usr/bin/php56-cgi -phpini /etc/opt/remi/php56/php.ini -clipath /usr/bin/php56 -type fastcgi
5. You can verify it using the below command
โค้ด: เลือกทั้งหมด
plesk bin php_handler --list |grep 5.6
ที่มา : https://talk.plesk.com/threads/how-to-i ... on.358438/