DA Server setup help

newsys

New member
Joined
Nov 6, 2025
Messages
2
Hey everyone,
I’m in the middle of migrating from cPanel to DirectAdmin and trying to set up a clean server with CloudLinux 9 (latest) and LiteSpeed (paid, not OpenLiteSpeed). I am facing issues like

Native PHP version is not installed ("/usr/local/php5/bin/php-cgi" binary is missing), thus CloudLinux PHP selector is not able to work. etc

At this point, I’m unsure about the correct installation order — should LiteSpeed come before or after DirectAdmin setup? And is there a specific way to make the PHP Selector integrate cleanly with DA’s custombuild?

Since I’m coming from cPanel (where CloudLinux + LiteSpeed worked flawlessly), I’d love to know if anyone has a reliable step-by-step or migration-friendly process for this exact stack:

CloudLinux 9
LiteSpeed Enterprise Web Server
DirectAdmin
MariaDB
Softaculous
immunify360
JetBackup etc

Also, what components should I select for above config?

da.png


Any guidance or personal experience would really help — I’m trying to make the switch cleanly without breaking PHP Selector or CageFS support.

Thanks in advance 🙏
 
Hello,

From your screenshot I see you've got PHP 8.5RC2 selected. The location "/usr/local/php5/bin/php-cgi" was in a usage by DirectAdmin in old days (for PHP 5.x), and is no longer used. CloudLinux installs its alternative PHP versions in the directory "/opt/alt/".

I'm not sure why your installation or setup would try "/usr/local/php5/bin/php-cgi". Is PHP 8.5 installed at all? Will you try?

Bash:
php -v
in a SSH session?

Will it help if you change to PHP 8.4 for the installation?

Code:
da build set php1_release 8.4
da build php

Native PHP version is not installed ("/usr/local/php5/bin/php-cgi" binary is missing), thus CloudLinux PHP selector is not able to work. etc
 
CloudLinux PHP Selector requires native PHP to be installed. So you need at least php1_release to set at any version and build it first.
 
Hello,

From your screenshot I see you've got PHP 8.5RC2 selected. The location "/usr/local/php5/bin/php-cgi" was in a usage by DirectAdmin in old days (for PHP 5.x), and is no longer used. CloudLinux installs its alternative PHP versions in the directory "/opt/alt/".

I'm not sure why your installation or setup would try "/usr/local/php5/bin/php-cgi". Is PHP 8.5 installed at all? Will you try?

Bash:
php -v
in a SSH session?

Will it help if you change to PHP 8.4 for the installation?

Code:
da build set php1_release 8.4
da build php
Thanks for the reply. I think I messed up during installation. I will try again. Can you tell me the exact sequence of how I should approach the setup? I’m testing everything on a CloudVM running AlmaLinux 9 to learn the process. What’s the correct installation order — something like DirectAdmin → CloudLinux conversion → CloudLinux components (Selectors etc.) → LiteSpeed, or is there a better approach?
 
What’s the correct installation order — something like DirectAdmin → CloudLinux conversion → CloudLinux components (Selectors etc.) → LiteSpeed, or is there a better approach?

I don't see anything wrong in either of the ways, but usually I do:

1. Clean OS
2. Install Directadmin
3. Convert to CloudLinux

The steps 2 and 3 can be probably rotated. You will still need to rebuild things after you switch to CloudLinux

Install LiteSpeed at any convenience time.
 
Back
Top