{"id":3061,"date":"2020-04-26T04:50:00","date_gmt":"2020-04-25T23:20:00","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=3061"},"modified":"2020-04-26T08:45:00","modified_gmt":"2020-04-26T03:15:00","slug":"updating-apache-to-the-latest-version","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/","title":{"rendered":"Updating Apache to the latest version"},"content":{"rendered":"\n<p>You can check the current version of apache by running<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/sbin\/httpd -v<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>CustomBuild<\/strong> &#8211; current<\/h3>\n\n\n\n<p>If you&#8217;re using custombuild (as most new boxes are), run the following<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/usr\/local\/directadmin\/custombuild\n.\/build update\n.\/build apache\n.\/build php n\n.\/build rewrite_confs<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>CustomApache<\/strong> &#8211; end-of-life<\/h3>\n\n\n\n<p>If you are using customapache with the 1.3 version of apache to the most recent, run the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/usr\/local\/directadmin\/customapache<br>.\/build clean<br>.\/build update<br>.\/build apache_mod_ssl<\/pre>\n\n\n\n<p>If you&#8217;re using apache 2.x, use &#8220;.\/build apache_2&#8221; instead of apache_mod_ssl.<br>This should update both the configure options and the version of apache to the most recent version. \u00a0Once the update has completed, you&#8217;ll need to restart apache:<br><br>RedHat:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/sbin\/service httpd restart<\/pre>\n\n\n\n<p>FreeBSD:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/etc\/rc.d\/httpd restart<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can check the current version of apache by running \/usr\/sbin\/httpd -v CustomBuild &#8211; current If you&#8217;re using custombuild (as most new boxes are), run the following cd \/usr\/local\/directadmin\/custombuild .\/build update .\/build apache .\/build php n .\/build rewrite_confs CustomApache &#8211; end-of-life If you are using customapache with the 1.3 version of apache to the most [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[139,273],"tags":[119,274,299],"class_list":["post-3061","post","type-post","status-publish","format-standard","hentry","category-apache","category-directadmin","tag-apache","tag-directadmin","tag-httpd"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Updating Apache to the latest version | 24x7serversupport Blog<\/title>\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.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Updating Apache to the latest version | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"You can check the current version of apache by running \/usr\/sbin\/httpd -v CustomBuild &#8211; current If you&#8217;re using custombuild (as most new boxes are), run the following cd \/usr\/local\/directadmin\/custombuild .\/build update .\/build apache .\/build php n .\/build rewrite_confs CustomApache &#8211; end-of-life If you are using customapache with the 1.3 version of apache to the most [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-25T23:20:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-26T03:15:00+00:00\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/\",\"name\":\"Updating Apache to the latest version | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"datePublished\":\"2020-04-25T23:20:00+00:00\",\"dateModified\":\"2020-04-26T03:15:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Updating Apache to the latest version\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Updating Apache to the latest version | 24x7serversupport Blog","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.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/","og_locale":"en_US","og_type":"article","og_title":"Updating Apache to the latest version | 24x7serversupport Blog","og_description":"You can check the current version of apache by running \/usr\/sbin\/httpd -v CustomBuild &#8211; current If you&#8217;re using custombuild (as most new boxes are), run the following cd \/usr\/local\/directadmin\/custombuild .\/build update .\/build apache .\/build php n .\/build rewrite_confs CustomApache &#8211; end-of-life If you are using customapache with the 1.3 version of apache to the most [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-04-25T23:20:00+00:00","article_modified_time":"2020-04-26T03:15:00+00:00","author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/","url":"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/","name":"Updating Apache to the latest version | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"datePublished":"2020-04-25T23:20:00+00:00","dateModified":"2020-04-26T03:15:00+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/updating-apache-to-the-latest-version\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Updating Apache to the latest version"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=3061"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3061\/revisions"}],"predecessor-version":[{"id":3063,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3061\/revisions\/3063"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=3061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=3061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=3061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}