{"id":1116,"date":"2022-06-02T04:03:16","date_gmt":"2022-06-01T22:33:16","guid":{"rendered":"https:\/\/lookouthost.com\/?p=1116"},"modified":"2022-06-02T04:03:49","modified_gmt":"2022-06-01T22:33:49","slug":"install-mod_lsapi-on-directadmin","status":"publish","type":"post","link":"https:\/\/lookouthost.com\/blog\/install-mod_lsapi-on-directadmin\/","title":{"rendered":"Install Mod_lsapi on DirectAdmin"},"content":{"rendered":"<h4 class=\"wp-block-heading\" id=\"installing-on-directadmin-servers\">Installing on DirectAdmin servers<\/h4><p>Installation process is done with custombuild script:<\/p><pre class=\"wp-block-code\"><code>$ yum install liblsapi liblsapi-devel\n$ cd \/usr\/local\/directadmin\/custombuild\n$ .\/build update\n$ .\/build set php1_mode lsphp\n$ .\/build php n\n$ .\/build apache<\/code><\/pre><p>Please also change php2_mode, php3_mode, php4_mode in above step if you have configured these options in custom build also. <\/p><p>Restart Apache afterwards:<\/p><pre class=\"wp-block-code\"><code>$ service httpd restart\n\nIf you get mod_ruid2 enabled error you can go in CustomBuild option under Directadmin and change it to no.\n<\/code><\/pre><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"526\" src=\"https:\/\/lookouthost.com\/wp-content\/uploads\/2022\/06\/image-1024x526.png\" alt=\"\" class=\"wp-image-1117\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2022\/06\/image-1024x526.png 1024w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2022\/06\/image-600x308.png 600w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2022\/06\/image-300x154.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2022\/06\/image-768x394.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2022\/06\/image.png 1276w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><a href=\"https:\/\/lookouthost.com\/directadmin-setup\/\">For full installation of directadmin follow this guide.<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Installing on DirectAdmin servers Installation process is done with custombuild script: Please also change php2_mode, php3_mode, php4_mode in above step if you have configured these options in custom build also. Restart Apache afterwards: For full installation of directadmin follow this guide.<\/p>\n","protected":false},"author":1,"featured_media":48,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1116","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-directadmin"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/1116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/comments?post=1116"}],"version-history":[{"count":0,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/1116\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/media\/48"}],"wp:attachment":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/media?parent=1116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/categories?post=1116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/tags?post=1116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}