It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In RegisterIt looks like you're new here. If you want to get involved, click one of these buttons!
Howdy, Stranger!
It looks like you've been lurking for a while.
If you register, we also will remember what you have read and notify you about new comments. You will also be able to participate in discussions.
So if you'd like to get involved, register for an account, it'll only take you a minute!
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 by 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 a 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:
./build rewrite_confs