install php5.6 on plesk centos8
โพสต์: เสาร์ 11 พ.ย. 2023 05:32
1. Install remi repo in centos 8
2. Install php 5.6 and its required modules
3. Register the php.56 fcgi module with php, If all good you will get handler id and successfully registered message.
The new PHP handler with the id "150e2a3d0f6ca2bb60a26372169d231c3c758e6d" was successfully registered.
5. You can verify it using the below command
6. Now the php version will be listed in front end of plesk in php version drop down
ที่มา : https://talk.plesk.com/threads/how-to-i ... on.358438/
โค้ด: เลือกทั้งหมด
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/