/usr/local/directadmin/custombuild/./build php1_release 7.4
/usr/local/directadmin/custombuild/./build php1_mode php-fpm
/usr/local/directadmin/custombuild/./build php2_release no
/usr/local/directadmin/custombuild/./build php3_release no
/usr/local/directadmin/custombuild/./build php4_release no
/usr/local/directadmin/custombuild/./build update
/usr/local/directadmin/custombuild/./build php n
/usr/local/directadmin/custombuild/./build rewrite_confs
cd /usr/local/directadmin
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build all
thank youThere must be at least 1 PHP version installed in directadmin. I'm not sure why you delete that.
Let say you only have 1 PHP version and you want to delete php7.0 and install 7.4, then you just need to run command belows:
Code:/usr/local/directadmin/custombuild/./build php1_release 7.4 /usr/local/directadmin/custombuild/./build php1_mode php-fpm /usr/local/directadmin/custombuild/./build php2_release no /usr/local/directadmin/custombuild/./build php3_release no /usr/local/directadmin/custombuild/./build php4_release no /usr/local/directadmin/custombuild/./build update /usr/local/directadmin/custombuild/./build php n /usr/local/directadmin/custombuild/./build rewrite_confs
You will get a fresh new version of php 7.4 (the other PHP will be removed automatically).
and this is how you reinstall custombuild:
Code:cd /usr/local/directadmin wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz tar xvzf custombuild.tar.gz cd custombuild ./build all
After trying according to your method, the installation completion panel cannot be opened. Use the systemctl status directadmin.service command to see the informationThere must be at least 1 PHP version installed in directadmin. I'm not sure why you delete that.
Let say you only have 1 PHP version and you want to delete php7.0 and install 7.4, then you just need to run command belows:
Code:/usr/local/directadmin/custombuild/./build php1_release 7.4 /usr/local/directadmin/custombuild/./build php1_mode php-fpm /usr/local/directadmin/custombuild/./build php2_release no /usr/local/directadmin/custombuild/./build php3_release no /usr/local/directadmin/custombuild/./build php4_release no /usr/local/directadmin/custombuild/./build update /usr/local/directadmin/custombuild/./build php n /usr/local/directadmin/custombuild/./build rewrite_confs
You will get a fresh new version of php 7.4 (the other PHP will be removed automatically).
and this is how you reinstall custombuild:
Code:cd /usr/local/directadmin wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz tar xvzf custombuild.tar.gz cd custombuild ./build all
After trying according to your method, the installation completion panel cannot be opened. Use the systemctl status directadmin.service command to see the information
directadmin.service - DirectAdmin Web Control Panel
Loaded: loaded (/etc/systemd/system/directadmin.service; enabled; vendor preset: disabled)
Active: failed (result: exit code) since 2021-08-31 20:19:35 CST; 7min ago
Docs: http://www.directadmin.com
Process: 48268 ExecStart=/usr/local/directadmin/directadmin (code=exited, status=203/EXEC)
Main PID: 48268 (code=exited, status=203/EXEC)
August 31 20:19:35 server. Ys666. Top SYSTEMd [1]: starting DirectAdmin web control panel
August 31 20:19:35 server. Ys666. Top SYSTEMd [1]: directadmin.service: main process exited,... EC
August 31 20:19:35 server. Ys666. Top SYSTEMd [1]: failed to start DirectAdmin web control panel
August 31 20:19:35 server. Ys666. Top SYSTEMd [1]: unit directadmin.service entered failed state
August 31 20:19:35 server. Ys666. Top SYSTEMd [1]: directadmin.service failed
Hint: Some lines were ellipsized, use -l to show in full.
I tried to delete the directory of custombuild. What is the installation instruction of custombuild? I want to reinstall it