{"id":3122,"date":"2017-02-22T07:50:30","date_gmt":"2017-02-22T07:50:30","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=3122"},"modified":"2023-08-11T09:46:15","modified_gmt":"2023-08-11T08:46:15","slug":"installing-php5-apache-mysql-phpmyadmin-linux","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/","title":{"rendered":"Installing PHP5 Apache Mysql and phpMyAdmin on Linux"},"content":{"rendered":"<p>Today I&#8217;m going to teach you how to install PHP5,&nbsp; Apache and the database manager in&nbsp; MySQL PHPMyAdmin, quick and easy thing in just 5 steps!<\/p>\n<p><strong>1 &#8211; The first command to execute is:<\/strong><\/p>\n<p>sudo apt-get install apache2 apache2-utils libapache2-mod-php5 php5 php5-mysql php5-cli php5-gd<\/p>\n<p><strong>2 &#8211; Proceed with the installation and wait for it to end, remembering that the apache root directory where your website will look is:<\/strong><\/p>\n<p>\/ var \/ www \/<\/p>\n<p><strong>3 &#8211; Now, let&#8217;s continue with the tutorial and install PHPMyAdmin, use the following command:<\/strong><\/p>\n<p>sudo apt-get install phpmyadmin<\/p>\n<p><strong>4 &#8211; After the installation is complete, it is necessary to move phpmyadmin to the apache root directory so that it can be accessed by your browser, use this command:<\/strong><\/p>\n<p>Cp -R \/ usr \/ share \/ phpmyadmin \/ \/ var \/ www \/ phpmyadmin<\/p>\n<p><strong>5 &#8211; Ready, now only access through your browser https: \/\/ IP \/ phpmyadmin \/<\/strong><\/p>\n<p>Most essential part of the tutorial was done, now send your website to the root folder of apache which is&nbsp; \/ var \/ www \/<\/p>\n<p>After that, go to http: \/\/ IP \/ e and proceed with the setup.<\/p>\n<p><em>Okay, now you&#8217;re ready to install your site.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I&#8217;m going to teach you how to install PHP5,&nbsp; Apache and the database manager in&nbsp; MySQL PHPMyAdmin, quick and easy thing in just 5 steps! 1 &#8211; The first command to execute is: sudo apt-get install apache2 apache2-utils libapache2-mod-php5 php5 php5-mysql php5-cli php5-gd 2 &#8211; Proceed with the installation and wait for it to [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[],"class_list":["post-3122","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Installing PHP5 Apache Mysql and phpMyAdmin on Linux<\/title>\n<meta name=\"description\" content=\"The step-by-step guide to installing PHP5, Apache, MySQL, and phpMyAdmin on Linux Simplify the process of setting up a powerful web development environment.\" \/>\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.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing PHP5 Apache Mysql and phpMyAdmin on Linux\" \/>\n<meta property=\"og:description\" content=\"The step-by-step guide to installing PHP5, Apache, MySQL, and phpMyAdmin on Linux Simplify the process of setting up a powerful web development environment.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-22T07:50:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-11T08:46:15+00:00\" \/>\n<meta name=\"author\" content=\"Pravin Ganore\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pravin Ganore\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/\",\"name\":\"Installing PHP5 Apache Mysql and phpMyAdmin on Linux\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2017-02-22T07:50:30+00:00\",\"dateModified\":\"2023-08-11T08:46:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/9f6aad74f4af57132ba60117b4ab3ea6\"},\"description\":\"The step-by-step guide to installing PHP5, Apache, MySQL, and phpMyAdmin on Linux Simplify the process of setting up a powerful web development environment.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing PHP5 Apache Mysql and phpMyAdmin on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/9f6aad74f4af57132ba60117b4ab3ea6\",\"name\":\"Pravin Ganore\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0cc3f850bd88b8c03fef8afc4399e314?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0cc3f850bd88b8c03fef8afc4399e314?s=96&d=blank&r=g\",\"caption\":\"Pravin Ganore\"},\"description\":\"Pravin is Journalist Specializing in Blogging, Social Networking and Community Management. As a constant learner, he is always aiming towards new ideas and greater knowledge. When he is not doing research, reading, or writing for blogs, you can find him hanging around social media sites.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pravin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing PHP5 Apache Mysql and phpMyAdmin on Linux","description":"The step-by-step guide to installing PHP5, Apache, MySQL, and phpMyAdmin on Linux Simplify the process of setting up a powerful web development environment.","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.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/","og_locale":"en_GB","og_type":"article","og_title":"Installing PHP5 Apache Mysql and phpMyAdmin on Linux","og_description":"The step-by-step guide to installing PHP5, Apache, MySQL, and phpMyAdmin on Linux Simplify the process of setting up a powerful web development environment.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2017-02-22T07:50:30+00:00","article_modified_time":"2023-08-11T08:46:15+00:00","author":"Pravin Ganore","twitter_misc":{"Written by":"Pravin Ganore","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/","name":"Installing PHP5 Apache Mysql and phpMyAdmin on Linux","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2017-02-22T07:50:30+00:00","dateModified":"2023-08-11T08:46:15+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/9f6aad74f4af57132ba60117b4ab3ea6"},"description":"The step-by-step guide to installing PHP5, Apache, MySQL, and phpMyAdmin on Linux Simplify the process of setting up a powerful web development environment.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/installing-php5-apache-mysql-phpmyadmin-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Installing PHP5 Apache Mysql and phpMyAdmin on Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/9f6aad74f4af57132ba60117b4ab3ea6","name":"Pravin Ganore","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0cc3f850bd88b8c03fef8afc4399e314?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0cc3f850bd88b8c03fef8afc4399e314?s=96&d=blank&r=g","caption":"Pravin Ganore"},"description":"Pravin is Journalist Specializing in Blogging, Social Networking and Community Management. As a constant learner, he is always aiming towards new ideas and greater knowledge. When he is not doing research, reading, or writing for blogs, you can find him hanging around social media sites.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pravin\/"}]}},"views":1576,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/3122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=3122"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/3122\/revisions"}],"predecessor-version":[{"id":14954,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/3122\/revisions\/14954"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=3122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=3122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=3122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}