cd /usr/local/directadmin/custombuild
./build update
./build set php1_release 5.2
cd /usr/local/directadmin/custombuild
./build set mysql 5.1
./build set mysql_inst mysql
./build set mysql_backup yes
./build update
./build mysql
- php1_release - select the default PHP release which you would like to get installed/updated using "./build php" or "./build all". Possible values: 5.3/5.4/5.5/5.6/7.0/7.1/7.2/7.3/7.4 (default: 7.2).
Sorry I meant that PHP version isn't actually supported anymore: