No announcement yet.

Best combination for directadmin server

  • Filter
  • Time
  • Show
Clear All
new posts

  • Best combination for directadmin server

    I have a directadmin server with several sites and scripts, wordpress, opencart, and several types of own cms.

    OpenLiteSpeed and LiteSpeed are ruled out, I need to use NGINX_APACHE as webserver.

    What's the best way to get good performance using this combination?
    NGINX_APACHE + lsphp?

    Any tutorial on how I can compile cloudlinux php together with directadmin without problems?ā€‹

  • #2

    The LiteSpeed is pretty good, any details about why you eliminated it from this challenge?

    And yes, if we are talking about performance the nginx_apache reverse proxy is the best choice for free software.

    Nothing special has to be done about killer performance, just the regular setup per their guide.

    As for PHP + lsapi it should be also straightforward:

    yum install liblsapi liblsapi-devel
    cd /usr/local/directadmin/custombuild
    ./build update
    ./build set php1_mode lsphp
    ./build php nā€‹
    ./build nginx_apache
    ./build rewrite_confs
    If you are using multiple PHP modes you will have to set lsphp for them as well, e.g.: ./build set php2_mode lsphp

    That's it.