php 5.6 support in current versions of Directadmin

alenguav

New member
Joined
May 15, 2023
Messages
1
Location
Lima, Perú
Hello,
I was wondering if it is possible to install in a new VPS with Directadmin
It happens that I still have some legacy code that requires this old version of PHP
 
Yes,
But you have to use Almalinux/Rockylinux/Centos 8 versions, 9 versions don't support 5.6 anymore (don't use Centos 7 because its almost EOL)
 
Last edited:
do something like this

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set php1_release 8.1
./build set php2_release 7.4
./build set php3_release 5.6
./build set php1_mode php-fpm
./build set php2_mode php-fpm
./build set php3_mode php-fpm
./build php n
./build rewrite_confs

p.s. don't use php5.6 as php1_release. because it security issued.
 
Back
Top