{"id":2339,"date":"2022-09-02T22:58:58","date_gmt":"2022-09-02T22:58:58","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=2339"},"modified":"2022-09-02T23:01:15","modified_gmt":"2022-09-02T23:01:15","slug":"installation-of-apache-mysql-php-lamp-on-centos-rhel","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/","title":{"rendered":"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/lamp_en.jpg\" alt=\"Installation of Apache, MySQL, PHP (LAMP) \non CentOS 7 RHEL REDHAT\" class=\"wp-image-2358\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/lamp_en.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/lamp_en-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/lamp_en-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/lamp_en-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/lamp_en-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p><strong>LAMP<\/strong>&nbsp;(<strong>L<\/strong>inux,&nbsp;<strong>A<\/strong>pache,&nbsp;<strong>M<\/strong>ySQL,&nbsp;<strong>P<\/strong>HP\/<strong>P<\/strong>erl\/<strong>P<\/strong>ython) is an&nbsp;acronym&nbsp;denoting one of the most common&nbsp;software stacks&nbsp;for many of the web&#8217;s most popular&nbsp;applications. However, LAMP now refers to a generic software stack model and its components are largely interchangeable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1 : Apache Installation<\/h2>\n\n\n\n<p>The Apache HTTP Server is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation.<\/p>\n\n\n\n<p>To install the httpd Apache package, enter the following command into your terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo yum install httpd yum-utils<\/code><\/pre>\n\n\n\n<p>Once the setup is finished, use the following command to start your Apache server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl start httpd<\/code><\/pre>\n\n\n\n<p>By entering your public IP address or domain name in your web browser, you may check to see if your server is up and operating.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"markdown\" class=\"language-markdown\">http:\/\/your_IP_address<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"940\" height=\"579\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-11-28-50-Apache-HTTP-Server-Test-Page-powered-by-CentOS-1.png\" alt=\"apache welcome page\" class=\"wp-image-2344\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-11-28-50-Apache-HTTP-Server-Test-Page-powered-by-CentOS-1.png 940w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-11-28-50-Apache-HTTP-Server-Test-Page-powered-by-CentOS-1-300x185.png 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-11-28-50-Apache-HTTP-Server-Test-Page-powered-by-CentOS-1-768x473.png 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-11-28-50-Apache-HTTP-Server-Test-Page-powered-by-CentOS-1-150x92.png 150w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/figure>\n\n\n\n<p>To make Apache launch immediately after booting, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl enable httpd.service<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2 : MySQL installation<\/h2>\n\n\n\n<p>For a complete guide, follow steps in this tutorial: <a href=\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install MySQL on CentOS\/Redhat 7\/6 &amp; Fedora 31\/30<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3 : Install PHP<\/h2>\n\n\n\n<p>PHP is the part of our system that will process the code in order to show dynamic content. It can execute scripts, connect to our MySQL databases for information, and then provide the processed data to our web server for display.<\/p>\n\n\n\n<p>Because the PHP version supplied by default on CentOS 7 and RedHat 7 servers is out of date, we&#8217;ll need to install a third-party package repository in order to download and install PHP 7+ on your CentOS 7 server. <a href=\"https:\/\/rpms.remirepo.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">Remi<\/a> is a prominent package repository that offers the most recent PHP versions for CentOS machines.<\/p>\n\n\n\n<p>Run the following command to install the Remi repository for CentOS 7:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo yum install http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm<\/code><\/pre>\n\n\n\n<p>Once installation is complete, you must run a command to enable the repository containing your preferred version of PHP. To verify that PHP 7+ releases are available in the Remi repository, run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ yum --disablerepo=\"*\" --enablerepo=\"remi-safe\" list php[7-9][0-9].x86_64<\/code><\/pre>\n\n\n\n<p>You will see the following output:<\/p>\n\n\n\n<h5 class=\"has-text-align-center wp-block-heading\"><kbd>Output :<\/kbd><\/h5>\n\n\n\n<pre class=\"wp-block-preformatted\">Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * remi-safe: mirrors.ukfast.co.uk\nAvailable Packages\nphp70.x86_64            2.0-1.el7.remi                    remi-safe\nphp71.x86_64            2.0-1.el7.remi                    remi-safe\nphp72.x86_64            2.0-1.el7.remi                    remi-safe\nphp73.x86_64            2.0-1.el7.remi                    remi-safe\nphp74.x86_64            1.0-3.el7.remi                    remi-safe\nphp80.x86_64            1.0-3.el7.remi                    remi-safe<\/pre>\n\n\n\n<p>In this tutorial, we will install PHP 7.4. To obtain PHP 7.4, use the following command to activate the proper Remi package:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo yum-config-manager --enable remi-php74<\/code><\/pre>\n\n\n\n<p>Now, we can use yum to install PHP as usual. The following command will install all of the packages required to get PHP 7.4 working in Apache and connected to MySQL-based databases:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo yum install php php-mysqlnd php-fpm<\/code><\/pre>\n\n\n\n<p>To ensure that PHP is installed as your preferred version, execute:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ php --version<\/code><\/pre>\n\n\n\n<h5 class=\"has-text-align-center wp-block-heading\"><kbd>Output :<\/kbd><\/h5>\n\n\n\n<pre class=\"wp-block-preformatted\">PHP 7.4.8 (cli) (built: Jul 9 2020 16:09:41) (NTS)\nCopyright (c) The PHP Group\nZend Engine v3.4.0, Copyright (c) Zend Technologies\n  with Zend OPcache v7.4.21, Copyright (c), by Zend Technologies<\/pre>\n\n\n\n<p>PHP has now been installed successfully on your machine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 :  Run PHP on Apache.<\/h2>\n\n\n\n<p>A document root will be created at \/var\/www\/html by CentOS 7&#8217;s default Apache installation. It is not necessary to alter Apache&#8217;s default settings in order for PHP to function properly on your web server.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ nano \/var\/www\/html\/info.php<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">&lt;?php\n\nphpinfo();<\/code><\/pre>\n\n\n\n<p>When you&#8217;re done, save and exit the file.<\/p>\n\n\n\n<p>Now let&#8217;s access the info file in :<\/p>\n\n\n\n<p><code>http:\/\/server_public_IP\/info.php<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"933\" height=\"839\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-12-20-48-PHP-7.4.30-phpinfo.png\" alt=\"php info page\" class=\"wp-image-2354\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-12-20-48-PHP-7.4.30-phpinfo.png 933w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-12-20-48-PHP-7.4.30-phpinfo-300x270.png 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-12-20-48-PHP-7.4.30-phpinfo-768x691.png 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/Screenshot-2022-09-02-at-12-20-48-PHP-7.4.30-phpinfo-150x135.png 150w\" sizes=\"(max-width: 933px) 100vw, 933px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>LAMP&nbsp;(Linux,&nbsp;Apache,&nbsp;MySQL,&nbsp;PHP\/Perl\/Python) is an&nbsp;acronym&nbsp;denoting one of the most common&nbsp;software stacks&nbsp;for many of the web&#8217;s most popular&nbsp;applications. However, LAMP now refers to a generic software stack model and its components are largely interchangeable. Step 1 : Apache Installation The Apache HTTP Server is a free and open-source cross-platform web server software, released under the terms of Apache ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[69,4],"tags":[],"yoast_head":"\n<title>Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"This LAMP guide uses PHP 7.4 installed on a CentOS 7 server, using MySQL as the database management system. and Apache as a web server.\" \/>\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.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"This LAMP guide uses PHP 7.4 installed on a CentOS 7 server, using MySQL as the database management system. and Apache as a web server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-02T22:58:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-02T23:01:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/lamp_en.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\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\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL\",\"datePublished\":\"2022-09-02T22:58:58+00:00\",\"dateModified\":\"2022-09-02T23:01:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/\"},\"wordCount\":453,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Linux system administration\",\"Web servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/\",\"name\":\"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2022-09-02T22:58:58+00:00\",\"dateModified\":\"2022-09-02T23:01:15+00:00\",\"description\":\"This LAMP guide uses PHP 7.4 installed on a CentOS 7 server, using MySQL as the database management system. and Apache as a web server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL - WebHi Tutorials &amp; Documentations","description":"This LAMP guide uses PHP 7.4 installed on a CentOS 7 server, using MySQL as the database management system. and Apache as a web server.","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.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/","og_locale":"en_US","og_type":"article","og_title":"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL - WebHi Tutorials &amp; Documentations","og_description":"This LAMP guide uses PHP 7.4 installed on a CentOS 7 server, using MySQL as the database management system. and Apache as a web server.","og_url":"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2022-09-02T22:58:58+00:00","article_modified_time":"2022-09-02T23:01:15+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/09\/lamp_en.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL","datePublished":"2022-09-02T22:58:58+00:00","dateModified":"2022-09-02T23:01:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/"},"wordCount":453,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Linux system administration","Web servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/","url":"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/","name":"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2022-09-02T22:58:58+00:00","dateModified":"2022-09-02T23:01:15+00:00","description":"This LAMP guide uses PHP 7.4 installed on a CentOS 7 server, using MySQL as the database management system. and Apache as a web server.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/installation-of-apache-mysql-php-lamp-on-centos-rhel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"Installation of Apache, MySQL, PHP (LAMP) on CentOS \/ RHEL"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/2339"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=2339"}],"version-history":[{"count":20,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/2339\/revisions"}],"predecessor-version":[{"id":2403,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/2339\/revisions\/2403"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=2339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=2339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=2339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}