{"id":10465,"date":"2026-01-08T09:55:03","date_gmt":"2026-01-08T04:25:03","guid":{"rendered":"https:\/\/youstable.com\/blog\/?post_type=manual_kb&#038;p=10465"},"modified":"2026-01-08T09:55:05","modified_gmt":"2026-01-08T04:25:05","slug":"install-openlitespeed-on-directadmin","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/install-openlitespeed-on-directadmin","title":{"rendered":"Easy Steps to Install OpenLiteSpeed on DirectAdmin in 2nd May 2026"},"content":{"rendered":"\n<p>Ready to supercharge your web hosting performance? OpenLiteSpeed is your answer! Because it&#8217;s completely free and comes with LSCACHE, it speeds up your WordPress Performance by ten times.<\/p>\n\n\n\n<p>Follow these simple steps to set up <strong>OpenLiteSpeed on DirectAdmin<\/strong> and unleash its full potential.<\/p>\n\n\n\n<p><strong>Step 1:<\/strong> Log in as &#8216;<strong>root<\/strong>&#8216; to your server using SSH. Use Putty or Xshell for a seamless connection.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nssh root@ip_address\n<\/pre><\/div>\n\n\n<p><strong>Step 2:<\/strong> Navigate to the &#8216;<strong>Custom Build<\/strong>&#8216; directory to initiate the installation.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ncd \/usr\/local\/directadmin\/custombuild\n<\/pre><\/div>\n\n\n<p><strong>Step 3:<\/strong> Update the build and switch your web server to OpenLiteSpeed.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n.\/build update\n.\/build set webserver openlitespeed\n<\/pre><\/div>\n\n\n<p><strong>Step 4:<\/strong> Disable &#8216;<strong>mod_ruid2<\/strong>&#8216; to prevent permissions-related issues with Litespeed.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n.\/build set mod_ruid2 no\n<\/pre><\/div>\n\n\n<p><strong>Step 5:<\/strong> Configure PHP modes to work with Litespeed you need to change all of them to LSPHP because its customised for better load handling and request processing.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n.\/build set php1_mode lsphp\n.\/build set php2_mode lsphp\n.\/build set php3_mode lsphp\n.\/build set php4_mode lsphp\n<\/pre><\/div>\n\n\n<p><strong>Step 6:<\/strong> Install OpenLiteSpeed with the following command.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n.\/build openlitespeed\n<\/pre><\/div>\n\n\n<p>It will take a couple of minutes to complete the installation. You&#8217;ll receive login details for the OpenLiteSpeed console, which can be accessed at <code><em><strong>https:\/\/ip_address:7080\/login.php<\/strong><\/em><\/code><\/p>\n\n\n\n<p>Note: You&#8217;ll need to whitelist port 7080 in CFS Settings to access OpenLiteSpeed Dashboard with that URL but unfortunately, OPLS comes with &#8220;<strong>read-only<\/strong>&#8221; mode. Because of that, you wouldn&#8217;t be able to change anything. <\/p>\n\n\n\n<p><strong>Step 7:<\/strong> Recompile PHP to utilize LiteSpeed (this step may take some time).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n.\/build php n\n.\/build rewrite_confs\n<\/pre><\/div>\n\n\n<p><strong>Final Step:<\/strong> To verify that everything is running smoothly.<\/p>\n\n\n\n<p>Log in to your <strong>DirectAdmin Dashboard<\/strong> <\/p>\n\n\n\n<p>Check the &#8216;<strong>Services<\/strong>&#8216; section on the Dashboard to ensure that &#8216;<strong>Litespeed<\/strong>&#8216; is marked as &#8216;<strong>running<\/strong>&#8216;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1878\" height=\"627\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2023\/09\/Open-Litespeed-on-DirectAdmin.png\" alt=\"\" class=\"wp-image-10468\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2023\/09\/Open-Litespeed-on-DirectAdmin.png 1878w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2023\/09\/Open-Litespeed-on-DirectAdmin-768x256.png 768w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2023\/09\/Open-Litespeed-on-DirectAdmin-1536x513.png 1536w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2023\/09\/Open-Litespeed-on-DirectAdmin-150x50.png 150w\" sizes=\"auto, (max-width: 1878px) 100vw, 1878px\" \/><\/figure>\n\n\n\n<p>And Bingo! You&#8217;ve successfully <strong>installed OpenLiteSpeed on your DirectAdmin server<\/strong>. Enjoy the benefits of enhanced performance, streamlined management, and powerful website features.<\/p>\n\n\n\n<p>Now you should consider <strong><a href=\"https:\/\/wordpress.org\/plugins\/litespeed-cache\/\" data-type=\"link\" data-id=\"https:\/\/wordpress.org\/plugins\/litespeed-cache\/\" target=\"_blank\" rel=\"noopener\">LiteSpeed WordPress Plugin<\/a><\/strong> for all your websites for better performance. We are attaching the image below, where LiteSpeed is compared with other Cache Plugins. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"700\" src=\"https:\/\/youstable.com\/blog\/wp-content\/uploads\/2023\/09\/LiteSpeed-Cache-.png\" alt=\"\" class=\"wp-image-10469\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2023\/09\/LiteSpeed-Cache-.png 1200w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2023\/09\/LiteSpeed-Cache--768x448.png 768w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2023\/09\/LiteSpeed-Cache--150x88.png 150w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p><strong>Note: <\/strong>If you have VPS or Servers from <strong>YouStable, <\/strong>you<strong> m<\/strong>ay ask our support team member to install OpenLiteSpeed without any additional charges.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ready to supercharge your web hosting performance? OpenLiteSpeed is your answer! Because it&#8217;s completely free and comes with LSCACHE, it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":17252,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"iawp_total_views":0,"footnotes":""},"categories":[350],"tags":[],"class_list":["post-10465","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase"],"acf":[],"featured_image_src":"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2023\/12\/Easy-Steps-to-Install-OpenLiteSpeed-on-DirectAdmin.jpg","author_info":{"display_name":"YouStable","author_link":"https:\/\/www.youstable.com\/blog\/author\/youstable"},"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/10465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=10465"}],"version-history":[{"count":2,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/10465\/revisions"}],"predecessor-version":[{"id":17253,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/10465\/revisions\/17253"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/17252"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=10465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=10465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=10465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}