CustomBuild 1.x
If you are using php 5.2 on a CLI or CGI (SUPHP) and prefer to use PHP 5.6, you can do so with the following commados: cd /usr/local/directadmin/custombuild ./build set php5_ver 5.6 ./build update ./build php n ./build rewrite_confs NOTE: It is possible that by changing your PHP version, scripts on your server will no longer work fully.
CustomBuild 2.0
If you want to change your PHP version from 5.2 to 5.6 with CustomBuild 2.0 installed, you can do so with the following commands: cd /usr/local/directadmin/custombuild./build set php1_release 5.6 ./build update ./build php n ./build rewrite_confs CustomBuild 2.0 only offers PHP 5.3 and higher.