Update DirectAdmin to PHP 7.0 (CustomBuild)

The web is about to get a whole lot faster! Just this week, HTTP version 2 was released, promising faster page load times. Now it’s PHP which is getting a huge upgrade, which comes with a bunch of new features and improvements. If your server runs DirectAdmin and you are looking to upgrade your PHP … 

 

Howto: Updating Linux when DirectAdmin is installed

When you have DirectAdmin installed on your Linux operating system (e.g. Ubuntu, CentOS), you should not update your operating system without taking care of one thing first. DirectAdmin takes care of some packages itself, such as Apache or MySQL. So by updating these packages directly, you may cause some errors for DirectAdmin. To only update … 

 

DirectAdmin: change “Apache is functioning normally”

In DirectAdmin, the default message you get when accessing a page is “Apache is functioning normally”. This is good to know, because if you see this message, it means Apache is working and returning a reply. However, if you want to change this page to something more informative or user-friendly, you should edit the file … 

 

DirectAdmin: “Error Loading ssl_cipher”

When I could no longer connect to my server on port 2222, I knew something was up with Direct Admin. I received the error Stopping Direct Admin Failed. I checked the error logs and the error was as follows; There appears to be something wrong with loading the ssl cipher for the Direct Admin service. … 

 

Solve: “Stopping DirectAdmin: [FAILED]”

When you have made changes to the Direct Admin or you simply have to restart the DirectAdmin service, you can restart the DirectAdmin service manually. In my case, I was no longer able to connect to my server (by default, the server is accessible by going to serverip:2222 in your browser). Use one of these … 

 

Disable service alerts (SSH, HTTPD, Dovecot, …) in DirectAdmin

To disable these service alerts in the Direct Admin control panel, you can simply edit the file services.status at  /usr/local/directadmin/data/admin/ This file should look (similar) like this: If you want to disable SSH alerts in Direct Admin, maybe because a spammer is trying to brute force its way into your system, simply change ON to …