{"id":5278,"date":"2022-09-06T08:50:20","date_gmt":"2022-09-06T12:50:20","guid":{"rendered":"https:\/\/www.cloudsurph.com\/?p=5278"},"modified":"2022-09-18T08:04:48","modified_gmt":"2022-09-18T12:04:48","slug":"how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7","status":"publish","type":"post","link":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/","title":{"rendered":"How to Install Linux, Apache, MySQL, and PHP (LAMP) stack On CentOS7"},"content":{"rendered":"<p>The <strong>LAMP<\/strong> stack is a group of open-source software that is typically installed together to enable a server to host any type of dynamic website and web applications. So, we can see here How to Install Linux, Apache, MySQL, and PHP (LAMP) stack On CentOS7.<\/p>\n<p>This term acronym represents the\u00a0<strong>L<\/strong>inux operating system, with the\u00a0<strong>Apache<\/strong> web server. The site data is basically stored in a\u00a0<strong>MySQL<\/strong> database and dynamic content is processed by\u00a0<strong>PHP<\/strong>.<\/p>\n<p>The most Linux systems, you can install MySQL by downloading the\u00a0<strong>mysql-server<\/strong>\u00a0package from your system\u2019s and by default package management repositories.<\/p>\n<p>However, on CentOS 7 the\u00a0<strong>mysql-server<\/strong>\u00a0package will actually install MariaDB and a community-developed fork of the MySQL relational database management system which works as a drop-in replacement for MySQL.<\/p>\n<p>So, in this article, we will see How to Install Linux, Apache, MySQL, and PHP (LAMP) stack On CentOS7.<\/p>\n<h3>Prerequisites<\/h3>\n<p>Now, before you begin with this article, you should have a separate, non-root user account set up on your server and you can learn how to do this by following our\u00a0<a href=\"https:\/\/www.cloudsurph.com\/initial-server-setup-with-centos-7\/\">initial server setup for CentOS 7<\/a>\u00a0article.<\/p>\n<h4><strong>Installing the Apache Web Server<\/strong><\/h4>\n<p>Firstly, you need to install Apache using CentOS\u2019s package manager,\u00a0<strong>yum<\/strong>. This package manager allows you to install most software from a repository maintained by CentOS 7.<\/p>\n<h5><em><strong>You can purchase your\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">hosting from Cloudsurph.com<\/a>,\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">Cloudsurph hosting<\/a>\u00a0is a reliable hosting option for business and personal projects. We offer insight and help on system configuration issues and code errors or bugs<\/strong>.<\/em><\/h5>\n<p>Now, log in to your VPS by <strong>PuTTY<\/strong> and Type this command in your terminal to install the httpd Apache package. <strong><em>Love to Code? We\u2019re Your Helping Partner,\u00a0<a href=\"https:\/\/www.cloudsurph.com\/love-to-code\/\">click here for<\/a>\u00a0\u00a0<a href=\"https:\/\/www.cloudsurph.com\/love-to-code\/\">Buy Our Service<\/a><\/em><\/strong><\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# sudo yum install httpd\r\n<\/pre>\n<p>Here when prompted come, enter\u00a0<strong>Y<\/strong> to confirm the Apache installation after then the installation is complete, start your Apache server with the below command. <em><strong>IF you want then buy a good, reliable, secure web\u00a0<a href=\"https:\/\/www.cloudsurph.com\/windows-vps-hosting\/\">hosting<\/a>\u00a0service \u00a0from here:\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">click here<\/a><\/strong><\/em><\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# sudo systemctl start httpd\r\n<\/pre>\n<p>Whichever, method you choose, type in your IP address into your web browser to verify that your server is running well.<\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# http:\/\/your_server_IP_address\r\n<\/pre>\n<p>Now, you will see the default CentOS 7 Apache landing page below, <strong><em>Love to Code? We\u2019re Your Helping Partner,\u00a0<a href=\"https:\/\/www.cloudsurph.com\/love-to-code\/\">click here for<\/a>\u00a0\u00a0<a href=\"https:\/\/www.cloudsurph.com\/love-to-code\/\">Buy Our Service<\/a><\/em><\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5281\" src=\"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS-7.jpg\" alt=\"How To Install Linux, Apache, MySQL, and PHP (LAMP) stack On CentOS 7\" width=\"1294\" height=\"855\" srcset=\"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS-7.jpg 1294w, https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS-7-1280x846.jpg 1280w, https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS-7-980x648.jpg 980w, https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS-7-480x317.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1294px, 100vw\" \/><\/p>\n<p>Now, you can enable Apache to start on boot with the below command<\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# sudo systemctl enable httpd.service\r\n<\/pre>\n<h4>Installing MySQL (MariaDB)<\/h4>\n<p>If your web server is up and running well, then you can install MariaDB. It will organize and provide access to databases where your website and applications can store information.<\/p>\n<p>Now, you install the MariaDB software package with the below command<\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# sudo yum install mariadb-server\r\n<\/pre>\n<p>When the installation is complete then need to start MariaDB with the below command<\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# sudo systemctl start mariadb\r\n<\/pre>\n<p>Now, you can enable MariaDB to start on boot with the below command<\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# sudo systemctl enable mariadb.service\r\n<\/pre>\n<p>For improving the security of your database server, type the below command to start the interactive script by running<\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# sudo mysql_secure_installation\r\n<\/pre>\n<h4>Installing PHP<\/h4>\n<p>In addition to the\u00a0php\u00a0package, you will need\u00a0<strong>php-mysql<\/strong>, a PHP module that allows PHP to communicate with MySQL-based databases on the server.<\/p>\n<p>Here, you can use this command to install the\u00a0php\u00a0<strong>and\u00a0php-mysql<\/strong>\u00a0packages with\u00a0yum<\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# sudo yum install php php-mysql\r\n<\/pre>\n<p>Restart the Apache web server to enable the PHP module that you already installed<\/p>\n<pre class=\"prettyprint\">\r\n[root@ronykayes ~]# sudo systemctl restart httpd.service\r\n<\/pre>\n<p>In this article, you have built a flexible foundation for serving PHP websites and applications to your visitors, using Apache as a web server. You have set up Apache to handle PHP requests and set up a MariaDB database to store your website and application data.<\/p>\n<p>That\u2019s it. If you enjoyed reading this article and have more questions please reach out to our\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/submitticket.php?step=2&amp;deptid=1\">support team<\/a>\u00a0via live chat or\u00a0<a href=\"mailto:support@cloudsurph.com\">email<\/a>\u00a0and we would be glad to help you. we provide server\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">hosting<\/a>\u00a0for all types of need and we can even get your\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">server<\/a>\u00a0up and running with the service of your choice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The LAMP stack is a group of open-source software that is typically installed together to enable a server to host any type of dynamic website and web applications. So, we can see here How to Install Linux, Apache, MySQL, and PHP (LAMP) stack On CentOS7. This term acronym represents the\u00a0Linux operating system, with the\u00a0Apache web [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":5282,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[157,25,158,159,1],"tags":[54,47,105,103,48,113],"class_list":["post-5278","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos-7","category-web-hosting-virtualization","category-linux-basics","category-linux-server","category-virtual-private-servers","tag-best-vps-hosting-server-maryland","tag-cheap-cloud-servers","tag-cheap-storage-server-hosting","tag-cheapest-vps","tag-dedicated-server-hosting-in-washington-d-c","tag-speed-test-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Linux Apache MySQL &amp; PHP (LAMP) On CentOS 7<\/title>\n<meta name=\"description\" content=\"How To Install Linux Apache MySQL PHP (LAMP) stack On CentOS 7, Installing the Apache Web Server, Installing MySQL (MariaDB), Installing PHP\" \/>\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.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Linux Apache MySQL &amp; PHP (LAMP) On CentOS 7\" \/>\n<meta property=\"og:description\" content=\"How To Install Linux Apache MySQL PHP (LAMP) stack On CentOS 7, Installing the Apache Web Server, Installing MySQL (MariaDB), Installing PHP\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudsurph Web Hosting Washington D.C.\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CloudSurph\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-06T12:50:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-18T12:04:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1264\" \/>\n\t<meta property=\"og:image:height\" content=\"760\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Rony\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cloudsurph\" \/>\n<meta name=\"twitter:site\" content=\"@Cloud_Surph\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rony\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/\"},\"author\":{\"name\":\"Rony\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#\\\/schema\\\/person\\\/ac9b4dd136d96e50d5f29c560191e7ed\"},\"headline\":\"How to Install Linux, Apache, MySQL, and PHP (LAMP) stack On CentOS7\",\"datePublished\":\"2022-09-06T12:50:20+00:00\",\"dateModified\":\"2022-09-18T12:04:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/\"},\"wordCount\":646,\"publisher\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg\",\"keywords\":[\"Best VPS hosting server Maryland\",\"Cheap Cloud Servers\",\"Cheap Storage Server Hosting\",\"Cheapest VPS\",\"Dedicated Server Hosting in Washington D.C\",\"Speed test VPS\"],\"articleSection\":[\"CentOS 7\",\"Cloud Hosting\",\"Linux Basics\",\"Linux Server\",\"VPS Servers\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/\",\"name\":\"How to Install Linux Apache MySQL & PHP (LAMP) On CentOS 7\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg\",\"datePublished\":\"2022-09-06T12:50:20+00:00\",\"dateModified\":\"2022-09-18T12:04:48+00:00\",\"description\":\"How To Install Linux Apache MySQL PHP (LAMP) stack On CentOS 7, Installing the Apache Web Server, Installing MySQL (MariaDB), Installing PHP\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg\",\"contentUrl\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg\",\"width\":1264,\"height\":760},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cloudsurph.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Linux, Apache, MySQL, and PHP (LAMP) stack On CentOS7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#website\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/\",\"name\":\"Cloudsurph Web Hosting Washington D.C.\",\"description\":\"Dedicated Server Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.cloudsurph.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#organization\",\"name\":\"CloudSurph Technology Solutions\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/cloudsurph-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/cloudsurph-logo.png\",\"width\":2348,\"height\":1692,\"caption\":\"CloudSurph Technology Solutions\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/CloudSurph\\\/\",\"https:\\\/\\\/x.com\\\/Cloud_Surph\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#\\\/schema\\\/person\\\/ac9b4dd136d96e50d5f29c560191e7ed\",\"name\":\"Rony\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g\",\"caption\":\"Rony\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/cloudsurph\"],\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/author\\\/ron\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Linux Apache MySQL & PHP (LAMP) On CentOS 7","description":"How To Install Linux Apache MySQL PHP (LAMP) stack On CentOS 7, Installing the Apache Web Server, Installing MySQL (MariaDB), Installing PHP","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.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Linux Apache MySQL & PHP (LAMP) On CentOS 7","og_description":"How To Install Linux Apache MySQL PHP (LAMP) stack On CentOS 7, Installing the Apache Web Server, Installing MySQL (MariaDB), Installing PHP","og_url":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/","og_site_name":"Cloudsurph Web Hosting Washington D.C.","article_publisher":"https:\/\/www.facebook.com\/CloudSurph\/","article_published_time":"2022-09-06T12:50:20+00:00","article_modified_time":"2022-09-18T12:04:48+00:00","og_image":[{"width":1264,"height":760,"url":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg","type":"image\/jpeg"}],"author":"Rony","twitter_card":"summary_large_image","twitter_creator":"@cloudsurph","twitter_site":"@Cloud_Surph","twitter_misc":{"Written by":"Rony","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/#article","isPartOf":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/"},"author":{"name":"Rony","@id":"https:\/\/www.cloudsurph.com\/#\/schema\/person\/ac9b4dd136d96e50d5f29c560191e7ed"},"headline":"How to Install Linux, Apache, MySQL, and PHP (LAMP) stack On CentOS7","datePublished":"2022-09-06T12:50:20+00:00","dateModified":"2022-09-18T12:04:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/"},"wordCount":646,"publisher":{"@id":"https:\/\/www.cloudsurph.com\/#organization"},"image":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg","keywords":["Best VPS hosting server Maryland","Cheap Cloud Servers","Cheap Storage Server Hosting","Cheapest VPS","Dedicated Server Hosting in Washington D.C","Speed test VPS"],"articleSection":["CentOS 7","Cloud Hosting","Linux Basics","Linux Server","VPS Servers"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/","url":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/","name":"How to Install Linux Apache MySQL & PHP (LAMP) On CentOS 7","isPartOf":{"@id":"https:\/\/www.cloudsurph.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/#primaryimage"},"image":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg","datePublished":"2022-09-06T12:50:20+00:00","dateModified":"2022-09-18T12:04:48+00:00","description":"How To Install Linux Apache MySQL PHP (LAMP) stack On CentOS 7, Installing the Apache Web Server, Installing MySQL (MariaDB), Installing PHP","breadcrumb":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/#primaryimage","url":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg","contentUrl":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/09\/How-to-Install-Linux-Apache-MySQL-and-PHP-LAMP-stack-On-CentOS7.jpg","width":1264,"height":760},{"@type":"BreadcrumbList","@id":"https:\/\/www.cloudsurph.com\/how-to-install-linux-apache-mysql-and-php-lamp-stack-on-centos7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cloudsurph.com\/"},{"@type":"ListItem","position":2,"name":"How to Install Linux, Apache, MySQL, and PHP (LAMP) stack On CentOS7"}]},{"@type":"WebSite","@id":"https:\/\/www.cloudsurph.com\/#website","url":"https:\/\/www.cloudsurph.com\/","name":"Cloudsurph Web Hosting Washington D.C.","description":"Dedicated Server Hosting","publisher":{"@id":"https:\/\/www.cloudsurph.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cloudsurph.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.cloudsurph.com\/#organization","name":"CloudSurph Technology Solutions","url":"https:\/\/www.cloudsurph.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cloudsurph.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2016\/04\/cloudsurph-logo.png","contentUrl":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2016\/04\/cloudsurph-logo.png","width":2348,"height":1692,"caption":"CloudSurph Technology Solutions"},"image":{"@id":"https:\/\/www.cloudsurph.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/CloudSurph\/","https:\/\/x.com\/Cloud_Surph"]},{"@type":"Person","@id":"https:\/\/www.cloudsurph.com\/#\/schema\/person\/ac9b4dd136d96e50d5f29c560191e7ed","name":"Rony","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g","caption":"Rony"},"sameAs":["https:\/\/x.com\/cloudsurph"],"url":"https:\/\/www.cloudsurph.com\/author\/ron\/"}]}},"_links":{"self":[{"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/posts\/5278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/comments?post=5278"}],"version-history":[{"count":3,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/posts\/5278\/revisions"}],"predecessor-version":[{"id":5283,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/posts\/5278\/revisions\/5283"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/media\/5282"}],"wp:attachment":[{"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/media?parent=5278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/categories?post=5278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/tags?post=5278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}