{"id":17517,"date":"2015-08-27T14:37:52","date_gmt":"2015-08-27T19:37:52","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17517"},"modified":"2022-06-03T03:44:13","modified_gmt":"2022-06-03T08:44:13","slug":"how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/","title":{"rendered":"How to install LAMP on Debian 8"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-25175\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8.jpg\" alt=\"How to install LAMP on Debian 8\" width=\"1200\" height=\"600\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8.jpg 1200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-768x384.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-1024x512.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-860x430.jpg 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-680x340.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-500x250.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-400x200.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-200x100.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8-50x25.jpg 50w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>We&#8217;ll show you, how to install LAMP on\u00a0Debian 8.\u00a0A LAMP stack is a synonym of LAMP server or LAMP web server. It refers to a set-up which includes Linux, Apache, MySQL (MariaDB) and PHP. Installing LAMP on Debian 8, is fairly easy task and should not take more then 10 minutes.<\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d0965fac36d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d0965fac36d\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#1-UPDATE-THE-SYSTEM\" >1. UPDATE THE SYSTEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#2-INSTALL-APACHE\" >2. INSTALL APACHE<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#3-INSTALL-MYSQL\" >3. INSTALL MYSQL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#4-INSTALL-PHP\" >4. INSTALL PHP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#5-INSTALL-PHPMYADMIN\" >5. INSTALL PHPMYADMIN<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-UPDATE-THE-SYSTEM\"><\/span><strong>1. UPDATE THE SYSTEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Make sure your server is fully up to date using:<\/p>\n<pre># apt-get update &amp;&amp; apt-get upgrade<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2-INSTALL-APACHE\"><\/span><strong>2. INSTALL APACHE<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To install Apache on your Debian 8 server, you need to execute the following command:<\/p>\n<pre># apt-get install apache2<\/pre>\n<p>After the installation is complete, you should enable Apache to start on boot:<\/p>\n<pre># systemctl enable apache2<\/pre>\n<p>Verify that Apache is running by opening a web browser and visiting your server IP address (http:\/\/server_ip). You should get the Apache welcome page like the one below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-25173\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8.png\" alt=\"Install LAMP on Debian 8\" width=\"816\" height=\"873\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8.png 816w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8-140x150.png 140w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8-280x300.png 280w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8-768x822.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8-680x728.png 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8-500x535.png 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8-400x428.png 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8-200x214.png 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/install-LAMP-on-Debian-8-50x53.png 50w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"3-INSTALL-MYSQL\"><\/span><strong>3. INSTALL MYSQL<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now let&#8217;s install MySQL. Issue the following:<\/p>\n<pre># apt-get install mysql-server mysql-client<\/pre>\n<p>During the installation, you will be asked to enter a password for the MySQL root user. Do not enter an easy to crack password. It should contain at least 8 characters mixed with upper and down cases.<\/p>\n<p>Now that MySQL is installed, we recommend you to do the MySQL secure installation by running:<\/p>\n<pre># mysql_secure_installation<\/pre>\n<p>Enter your root password and answer with <em><strong>&#8216;n&#8217;<\/strong><\/em> when you are asked to change your MySQL root password. Below is the entire procedure that you can follow:<\/p>\n<pre>Setting the root password ensures that nobody can log into the MySQL\r\nroot user without the proper authorisation.\r\n\r\nYou already have a root password set, so you can safely answer 'n'.\r\n\r\nChange the root password? [Y\/n] n\r\n... skipping.\r\n\r\nBy default, a MySQL installation has an anonymous user, allowing anyone\r\nto log into MySQL without having to have a user account created for\r\nthem.\u00a0 This is intended only for testing, and to make the installation\r\ngo a bit smoother.\u00a0 You should remove them before moving into a\r\nproduction environment.\r\n\r\nRemove anonymous users? [Y\/n] y\r\n... Success!\r\n\r\nNormally, root should only be allowed to connect from 'localhost'.\u00a0 This\r\nensures that someone cannot guess at the root password from the network.\r\n\r\nDisallow root login remotely? [Y\/n] y\r\n... Success!\r\n\r\nBy default, MySQL comes with a database named 'test' that anyone can\r\naccess.\u00a0 This is also intended only for testing, and should be removed\r\nbefore moving into a production environment.\r\n\r\nRemove test database and access to it? [Y\/n] y\r\n- Dropping test database...\r\nERROR 1008 (HY000) at line 1: Can't drop database 'test'; database doesn't exist\r\n... Failed!\u00a0 Not critical, keep moving...\r\n- Removing privileges on test database...\r\n... Success!\r\n\r\nReloading the privilege tables will ensure that all changes made so far\r\nwill take effect immediately.\r\n\r\nReload privilege tables now? [Y\/n] y\r\n... Success!\r\n\r\nCleaning up...\r\n\r\n\r\nAll done!\u00a0 If you've completed all of the above steps, your MySQL\r\ninstallation should now be secure.\r\n\r\nThanks for using MySQL!<\/pre>\n<p>Enable MySQL to start on boot:<\/p>\n<pre># systemctl enable mysql<\/pre>\n<p>You can check the status of your MySQL service by running:<\/p>\n<pre># systemctl status mysql<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4-INSTALL-PHP\"><\/span><strong>4. INSTALL PHP<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Install PHP by running the underneath command:<\/p>\n<pre># apt-get install php5 php5-mysql libapache2-mod-php5<\/pre>\n<p>Now, let&#8217;s make a simple PHP page test. Create a PHP info page so you can check your PHP version, modules activated etc&#8230;<\/p>\n<p>Create a file, let&#8217;s call it info.php into the \/var\/www\/html directory:<\/p>\n<pre># vim \/var\/www\/html\/info.php<\/pre>\n<p>Paste the following into the file:<\/p>\n<pre>&lt;?php\r\nphpinfo();\r\n?&gt;<\/pre>\n<p>Restart Apache for the changes to take effect:<\/p>\n<pre># systemctl restart apache2<\/pre>\n<p>Now, open your favorite web browser and navigate to http:\/\/your_server_ip_address\/info.php . You will be welcomed by a web page similar to the one below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-25174\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8.png\" alt=\"Installing LAMP on Debian 8\" width=\"944\" height=\"770\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8.png 944w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8-150x122.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8-300x245.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8-768x626.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8-860x701.png 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8-680x555.png 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8-500x408.png 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8-400x326.png 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8-200x163.png 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/Installing-LAMP-on-Debian-8-50x41.png 50w\" sizes=\"(max-width: 944px) 100vw, 944px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"5-INSTALL-PHPMYADMIN\"><\/span><strong>5. INSTALL PHPMYADMIN<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Additionaly, you should install phpMyAdmin so you can administer your databases easier via the phpMyAdmin intuitive GUI.<\/p>\n<p>Enter the following command:<\/p>\n<pre># apt-get install phpmyadmin<\/pre>\n<p>During the installation procedure you will be prompted with several windows for configuring phpMyAdmin. You should select <em><strong>&#8216;Yes<\/strong><\/em>&#8216; when you get to the <em><strong>&#8216;Configure database for phpMyAdmin with dbconfig-common&#8217;<\/strong><\/em> step after which a database will be installed and configured for phpMyAdmin.<\/p>\n<p>Then, enter your MySQL root password as the <em><strong>&#8216;Password of the database&#8217;s administrative user&#8217;<\/strong><\/em>. Next, enter a password of your choice for the <em><strong>&#8216;MySQL application password for phpmyadmin&#8217;<\/strong><\/em>.<\/p>\n<p>After this is finished, you will be prompted with a window where you can select a web server to be configured to run phpMyAdmin. Select <em><strong>apache2<\/strong><\/em> and then select <em><strong>ok<\/strong><\/em>.<\/p>\n<p>Once the installation is completed, you will be able to access phpMyAdmin by navigating your web browser to: <em><strong>http:\/\/your_server_ip_address\/phpmyadmin<\/strong><\/em>. You will be welcomed by the underneath page:<\/p>\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/phpmyadmin.png\"><img decoding=\"async\" class=\"alignleft size-full wp-image-17521\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/phpmyadmin.png\" alt=\"phpmyadmin\" width=\"425\" height=\"499\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/phpmyadmin.png 425w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/phpmyadmin-256x300.png 256w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/phpmyadmin-85x100.png 85w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/phpmyadmin-43x50.png 43w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/phpmyadmin-64x75.png 64w\" sizes=\"(max-width: 425px) 100vw, 425px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>You can log in using root as username and the password you have setup during the MySQL installation.<\/p>\n<p>That&#8217;s it. You have successfully installed <strong>LAMP<\/strong> and <strong>phpMyAdmin<\/strong> on your <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian 8 VPS<\/a>.<\/p>\n<p>Of course you don\u2019t have to\u00a0install LAMP on Debian 8, if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install LAMP on Debian 8f, or you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\">PS.<\/span> If you liked this post, on how to install LAMP on Debian 8, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ll show you, how to install LAMP on\u00a0Debian 8.\u00a0A LAMP stack is a synonym of LAMP server or LAMP web &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install LAMP on Debian 8\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#more-17517\" aria-label=\"Read more about How to install LAMP on Debian 8\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":25175,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1702,1700,13,1712,1707],"tags":[37,879,91,39,50],"class_list":["post-17517","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-databases","category-debian","category-tutorials","category-web-frameworks","category-web-servers","tag-apache","tag-debian8","tag-lamp","tag-mysql","tag-php","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install LAMP on Debian 8 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install LAMP on Debian 8 | RoseHosting\" \/>\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.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/\" \/>\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 on Debian 8\" \/>\n<meta property=\"og:description\" content=\"How to install LAMP on Debian 8 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-27T19:37:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:44:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\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.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install LAMP on Debian 8\",\"datePublished\":\"2015-08-27T19:37:52+00:00\",\"dateModified\":\"2022-06-03T08:44:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/\"},\"wordCount\":613,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/How-to-install-LAMP-on-Debian-8.jpg\",\"keywords\":[\"apache\",\"debian8\",\"lamp\",\"mysql\",\"php\"],\"articleSection\":[\"Databases\",\"Debian\",\"Tutorials\",\"Web Frameworks\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/\",\"name\":\"How to install LAMP on Debian 8 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/How-to-install-LAMP-on-Debian-8.jpg\",\"datePublished\":\"2015-08-27T19:37:52+00:00\",\"dateModified\":\"2022-06-03T08:44:13+00:00\",\"description\":\"How to install LAMP on Debian 8 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/How-to-install-LAMP-on-Debian-8.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/08\\\/How-to-install-LAMP-on-Debian-8.jpg\",\"width\":1200,\"height\":600,\"caption\":\"How to install LAMP on Debian 8\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install LAMP on Debian 8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install LAMP on Debian 8 | RoseHosting","description":"How to install LAMP on Debian 8 | RoseHosting","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.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to install LAMP on Debian 8","og_description":"How to install LAMP on Debian 8 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2015-08-27T19:37:52+00:00","article_modified_time":"2022-06-03T08:44:13+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install LAMP on Debian 8","datePublished":"2015-08-27T19:37:52+00:00","dateModified":"2022-06-03T08:44:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/"},"wordCount":613,"commentCount":1,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8.jpg","keywords":["apache","debian8","lamp","mysql","php"],"articleSection":["Databases","Debian","Tutorials","Web Frameworks","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/","name":"How to install LAMP on Debian 8 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8.jpg","datePublished":"2015-08-27T19:37:52+00:00","dateModified":"2022-06-03T08:44:13+00:00","description":"How to install LAMP on Debian 8 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/08\/How-to-install-LAMP-on-Debian-8.jpg","width":1200,"height":600,"caption":"How to install LAMP on Debian 8"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mysql-php-and-phpmyadmin-on-a-debian-8-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install LAMP on Debian 8"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=17517"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17517\/revisions"}],"predecessor-version":[{"id":42083,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17517\/revisions\/42083"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/25175"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=17517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=17517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=17517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}