directadmin select php version

cd /usr/local/directadmin/custombuild
vi options.conf

php1_release=5.6
php1_mode=suphp
php2_release=5.5
php2_mode=mod_php

./build php d

vi .htaccess


AddHandler application/x-httpd-php .php

Leave a Reply

Your email address will not be published. Required fields are marked *