yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio \
libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed \
autoconf automake libtool which patch mailx bzip2-devel lsof db4-devel psmisc net-tools systemd-devel libdb-devel perl-DBI xfsprogs rsyslog logrotate crontabs
cd /usr/local/directadmin* Move the file here:
mv custombuild custombuild_1.x* Install the file:
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz* Extract the file:
tar xvzf custombuild.tar.gz* Go to CustomBuild folder:
cd custombuild* Run CustomBuild:
./build4. Change the CustomBuild configuration for it to allow several PHP versions. It can be done via changing the "options.conf" file or using SSH and command line. While you still are in the CustomBuild folder, change the required options:
./build set php1_mode php-fpmThe php-fpm mode change is required if you are using Nginx and Apache as reverse proxy.
./build set php2_mode php-fpm
./build set php1_release 7.0
./build set php2_release 5.6
vi options.confCheck if the lines are as seen bellow:
./build php n7. Update the configuration:
It looks like you're new here. If you want to get involved, click one of these buttons!
Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!