{"id":3769,"date":"2016-02-09T21:46:52","date_gmt":"2016-02-09T21:46:52","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2016\/02\/09\/add-apache-modules\/"},"modified":"2021-08-16T22:49:59","modified_gmt":"2021-08-17T02:49:59","slug":"add-apache-modules","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/","title":{"rendered":"How to Add Apache Modules"},"content":{"rendered":"<p>Your <a href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\">dedicated server<\/a> uses the <a href=\"https:\/\/httpd.apache.org\/ABOUT_APACHE.html\" target=\"_blank\" rel=\"noopener noreferrer\">Apached HTTP Server<\/a> by default. When it is loaded, it comes with a number of commonly distributed modules <i>(for more information on these modules, see <a href=\"https:\/\/httpd.apache.org\/docs\/2.2\/mod\/\" target=\"_blank\" rel=\"noopener noreferrer\">Apache HTTP modules<\/a>)<\/i>. These modules are also called <b>Dynamically Shared Objects (DSOs)<\/b> and may be loaded while the Apache server is already running. Normally, Apache loads a DSO through a directive in the HTTPD.CONF file.<\/p>\n<p class=\"alert alert-danger\"><i>Making changes to this file requires that you have root access to the server as well as experience with making changes in this configuration file. If you are not familiar with making a change in this file, then it is highly recommended that you provide a verified support request to our live technical support team.<\/i><\/p>\n<h2>Adding or Deleting Modules<\/h2>\n<p>If you are adding or deleting modules from the HTTP.CONF, then the Apache Server must be <a href=\"\/support\/server\/server-usage\/restart-your-linux-server\/\" target=\"_blank\" rel=\"noopener noreferrer\">reloaded or restarted<\/a>. If the module is provided by a separate package, the line specifying the module must appear within the modules configuration file in the <i>\/etc\/httpd\/conf.d\/<\/i> directory.<\/p>\n<h2>Creating a New Module<\/h2>\n<p>If you have created a new module make sure to first install the httpd-developement package which contains the include files, header files, and the Apache extension application. This can be found in the <i>\/usr\/sbin\/apxs<\/i>.<\/p>\n<h2>Compiling a Newly Written Module<\/h2>\n<p>Use <i>\/usr\/sbin\/apxs<\/i> to compile the module sources that are outside of the Apache source tree. If you need more information for the <i>\/usr\/sbin\/apxs command<\/i>, then please see <a href=\"https:\/\/httpd.apache.org\/docs\/2.2\/dso.html\" target=\"_blank\" rel=\"noopener noreferrer\">the Apache documentation online at as well as the apxs man page<\/a>. When the file has been compiled, put the module in the <i>\/usr\/lib\/httpd\/modules\/<\/i> directory.<\/p>\n<h2>Add LoadModule line to HTTPD.CONF<\/h2>\n<p>In order to add a LoadModule line in the HTTPD.CONF, use the following format:<\/p>\n<p class=\"alert alert-info\"><b>LoadModule &lt;module-name&gt;&lt;\/module-name&gt; &lt;path\/to\/module.so&gt; <\/b><\/p>\n<ul>\n<li><b>Module-name<\/b> is the name of the module<\/li>\n<li><b>path\/to\/module.so<\/b> is the path to the module<\/li>\n<\/ul>\n<p>That completes the tutorial for adding an Apache Module to your <a href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\">Dedicated Hosting server<\/a>. Remember that when you add a module, you need to restart your Apache Web service before the newly added module can be seen by the web service.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your dedicated server uses the Apached HTTP Server by default. When it is loaded, it comes with a number of commonly distributed modules (for more information on these modules, see Apache HTTP modules). These modules are also called Dynamically Shared Objects (DSOs) and may be loaded while the Apache server is already running. Normally, Apache<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/\"> Read More ><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4355],"tags":[],"class_list":["post-3769","post","type-post","status-publish","format-standard","hentry","category-apache"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Add Apache Modules | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Apache modules (also called dynamically shared objects -DSOs) can be loaded to an Apache Web Server even when it is running. The addition requires modification of the HTTPD.CONF file on the dedicated hosting server. This tutorial shows you what&#039;s involved in adding the module.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Apache Modules | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Apache modules (also called dynamically shared objects -DSOs) can be loaded to an Apache Web Server even when it is running. The addition requires modification of the HTTPD.CONF file on the dedicated hosting server. This tutorial shows you what&#039;s involved in adding the module.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-09T21:46:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T02:49:59+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b\"},\"headline\":\"How to Add Apache Modules\",\"datePublished\":\"2016-02-09T21:46:52+00:00\",\"dateModified\":\"2021-08-17T02:49:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/\"},\"wordCount\":374,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Apache\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/\",\"name\":\"How to Add Apache Modules | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2016-02-09T21:46:52+00:00\",\"dateModified\":\"2021-08-17T02:49:59+00:00\",\"description\":\"Apache modules (also called dynamically shared objects -DSOs) can be loaded to an Apache Web Server even when it is running. The addition requires modification of the HTTPD.CONF file on the dedicated hosting server. This tutorial shows you what's involved in adding the module.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add Apache Modules\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/arn\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Apache Modules | InMotion Hosting","description":"Apache modules (also called dynamically shared objects -DSOs) can be loaded to an Apache Web Server even when it is running. The addition requires modification of the HTTPD.CONF file on the dedicated hosting server. This tutorial shows you what's involved in adding the module.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Apache Modules | InMotion Hosting","og_description":"Apache modules (also called dynamically shared objects -DSOs) can be loaded to an Apache Web Server even when it is running. The addition requires modification of the HTTPD.CONF file on the dedicated hosting server. This tutorial shows you what's involved in adding the module.","og_url":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2016-02-09T21:46:52+00:00","article_modified_time":"2021-08-17T02:49:59+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b"},"headline":"How to Add Apache Modules","datePublished":"2016-02-09T21:46:52+00:00","dateModified":"2021-08-17T02:49:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/"},"wordCount":374,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Apache"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/","url":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/","name":"How to Add Apache Modules | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2016-02-09T21:46:52+00:00","dateModified":"2021-08-17T02:49:59+00:00","description":"Apache modules (also called dynamically shared objects -DSOs) can be loaded to an Apache Web Server even when it is running. The addition requires modification of the HTTPD.CONF file on the dedicated hosting server. This tutorial shows you what's involved in adding the module.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/apache\/add-apache-modules\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Add Apache Modules"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/arn\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=3769"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3769\/revisions"}],"predecessor-version":[{"id":84047,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3769\/revisions\/84047"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=3769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=3769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=3769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}