{"id":13871,"date":"2019-04-06T12:37:57","date_gmt":"2019-04-06T12:37:57","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13871"},"modified":"2019-04-06T12:37:57","modified_gmt":"2019-04-06T12:37:57","slug":"how-to-install-lamp-with-php-7-and-mariadb-10-on-ubuntu-16-10","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/06\/how-to-install-lamp-with-php-7-and-mariadb-10-on-ubuntu-16-10\/","title":{"rendered":"How to Install LAMP with PHP 7 and MariaDB 10 on Ubuntu 16.10"},"content":{"rendered":"<p>In this article, we will go through the various steps to install the constituent packages in\u00a0<strong>LAMP<\/strong>\u00a0stack with\u00a0<strong>PHP 7<\/strong>and\u00a0<strong>MariaDB 10<\/strong>\u00a0on\u00a0<strong>Ubuntu 16.10<\/strong>\u00a0Server and Desktop editions.<\/p>\n<p>As you may already know,\u00a0<strong>LAMP<\/strong>\u00a0(<strong>Linux<\/strong>,\u00a0<strong>Apache<\/strong>,\u00a0<strong>MySQL\/MariaDB<\/strong>,\u00a0<strong>PHP<\/strong>) stack is the assortment of leading open source web development software packages.<\/p>\n<p>This web platform is made up of a web server, database management system and a server-side scripting language, and is acceptable for building dynamic websites and a wide range of web applications. It can be used in a testing or production environment to support small-scale to very large web-based projects.<\/p>\n<p>One of the common uses of\u00a0<strong>LAMP<\/strong>\u00a0stack is for running content management systems (CMSs) such as\u00a0<a href=\"https:\/\/www.tecmint.com\/install-wordpress-on-ubuntu-16-04-with-lamp\/\" target=\"_blank\" rel=\"noopener\">WordPress<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/install-joomla-in-linux\/\" target=\"_blank\" rel=\"noopener\">Joomla<\/a>\u00a0or\u00a0<a href=\"https:\/\/www.tecmint.com\/install-drupal-in-ubuntu-debian\/\" target=\"_blank\" rel=\"noopener\">Drupal<\/a>\u00a0and many others.<\/p>\n<h4>Requirements<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/installation-guide-ubuntu-16-10-yakkety-yak-desktop\/\" target=\"_blank\" rel=\"noopener\">Ubuntu 16.10 Installation Guide<\/a><\/li>\n<\/ol>\n<h3>Step 1: Install Apache on Ubuntu 16.10<\/h3>\n<p><strong>1.<\/strong>\u00a0The first step is to start by installing\u00a0<strong>Apache<\/strong>\u00a0web server from the default Ubuntu official repositories by typing the following commands on terminal:<\/p>\n<pre>$ sudo apt install apache2\r\nOR\r\n$ sudo apt-get install apache2\r\n<\/pre>\n<div id=\"attachment_23138\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-Apache-on-Ubuntu-16.10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23138\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-Apache-on-Ubuntu-16.10.png\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-Apache-on-Ubuntu-16.10.png 800w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-Apache-on-Ubuntu-16.10-768x279.png 768w\" alt=\"Install Apache on Ubuntu 16.10\" width=\"800\" height=\"291\" aria-describedby=\"caption-attachment-23138\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23138\" class=\"wp-caption-text\">Install Apache on Ubuntu 16.10<\/p>\n<\/div>\n<p><strong>2.<\/strong>\u00a0After Apache web server successfully installed, confirm if the daemon is running and on what ports it binds (by default apache listens on port 80) by running the commands below:<\/p>\n<pre>$ sudo systemctl status apache2.service \r\n$ sudo netstat -tlpn\r\n<\/pre>\n<div id=\"attachment_23139\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-Apache-Status.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23139\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-Apache-Status.png\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-Apache-Status.png 800w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-Apache-Status-768x485.png 768w\" alt=\"Check Apache Status and Port\" width=\"800\" height=\"505\" aria-describedby=\"caption-attachment-23139\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23139\" class=\"wp-caption-text\">Check Apache Status and Port<\/p>\n<\/div>\n<p><strong>3.<\/strong>\u00a0You can also confirm apache web server via a web browser by typing server IP address using HTTP protocol. A default apache web page should be appeared on the web browser similar to the below screenshot:<\/p>\n<pre>http:\/\/your_server_IP_address\r\n<\/pre>\n<div id=\"attachment_23140\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Verify-Apache-Web-Server.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23140\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Verify-Apache-Web-Server.png\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Verify-Apache-Web-Server.png 879w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Verify-Apache-Web-Server-768x594.png 768w\" alt=\"Verify Apache Web Server\" width=\"879\" height=\"680\" aria-describedby=\"caption-attachment-23140\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23140\" class=\"wp-caption-text\">Verify Apache Web Server<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0If you want to use HTTPS support to secure your web pages, you can enable\u00a0<strong>Apache SSL<\/strong>\u00a0module and confirm port by issuing the following commands:<\/p>\n<pre>$ sudo a2enmod ssl \r\n$ sudo a2ensite default-ssl.conf \r\n$ sudo systemctl restart apache2.service\r\n$ sudo netstat -tlpn\r\n<\/pre>\n<div id=\"attachment_23141\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Enable-Apache-SSL-HTTPS-Support.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23141\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Enable-Apache-SSL-HTTPS-Support.png\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Enable-Apache-SSL-HTTPS-Support.png 800w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Enable-Apache-SSL-HTTPS-Support-768x502.png 768w\" alt=\"Enable Apache SSL HTTPS Support on Ubuntu 16.10\" width=\"800\" height=\"523\" aria-describedby=\"caption-attachment-23141\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23141\" class=\"wp-caption-text\">Enable Apache SSL HTTPS Support on Ubuntu 16.10<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0Now confirm\u00a0<strong>Apache SSL<\/strong>\u00a0support using\u00a0<strong>HTTPS Secure Protocol<\/strong>\u00a0by typing the below address in web browser:<\/p>\n<pre>https:\/\/your_server_IP_address\r\n<\/pre>\n<p>You will get the following error page, its because that apache is configured to run with a\u00a0<strong>Self-Signed Certificate<\/strong>. Just accept and proceed further to bypass the certificate error and the web page should be displayed securely.<\/p>\n<div id=\"attachment_23142\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apache-Self-Signed-Certificate-Error.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23142\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apache-Self-Signed-Certificate-Error.png\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apache-Self-Signed-Certificate-Error.png 879w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apache-Self-Signed-Certificate-Error-768x594.png 768w\" alt=\"Apache Self-Signed Certificate Error\" width=\"879\" height=\"680\" aria-describedby=\"caption-attachment-23142\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23142\" class=\"wp-caption-text\">Apache Self-Signed Certificate Error<\/p>\n<\/div>\n<div id=\"attachment_23143\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apache-HTTPS-Support-Enabled.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23143\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apache-HTTPS-Support-Enabled.png\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apache-HTTPS-Support-Enabled.png 879w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apache-HTTPS-Support-Enabled-768x594.png 768w\" alt=\"Apache HTTPS Support Enabled\" width=\"879\" height=\"680\" aria-describedby=\"caption-attachment-23143\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23143\" class=\"wp-caption-text\">Apache HTTPS Support Enabled<\/p>\n<\/div>\n<p><strong>6.<\/strong>\u00a0Next enable apache web server to start the service at boot time using following command.<\/p>\n<pre>$ sudo systemctl enable apache2\r\n<\/pre>\n<h3>Step 2: Install PHP 7 on Ubuntu 16.10<\/h3>\n<p><strong>7.<\/strong>\u00a0To install most recent version of\u00a0<strong>PHP 7<\/strong>, which is developed to run with speed enhancements on Linux machine, first do a search for any existing PHP modules by running the below commands:<\/p>\n<pre>$ sudo apt search php7.0\r\n<\/pre>\n<div id=\"attachment_23145\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apt-Search-PHP-7-Modules.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23145\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apt-Search-PHP-7-Modules.png\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apt-Search-PHP-7-Modules.png 800w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Apt-Search-PHP-7-Modules-768x576.png 768w\" alt=\"APT Search PHP 7 Modules\" width=\"800\" height=\"600\" aria-describedby=\"caption-attachment-23145\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23145\" class=\"wp-caption-text\">APT Search PHP 7 Modules<\/p>\n<\/div>\n<p><strong>8.<\/strong>\u00a0Once you came to know that proper\u00a0<strong>PHP 7<\/strong>\u00a0modules are needed to setup, use\u00a0<a href=\"https:\/\/www.tecmint.com\/apt-advanced-package-command-examples-in-ubuntu\/\" target=\"_blank\" rel=\"noopener\">apt command<\/a>\u00a0to install the proper modules so that PHP can able to run scripts in conjunction with apache web server.<\/p>\n<pre>$ sudo apt install php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-xml php7.0-gd\r\n<\/pre>\n<div id=\"attachment_23146\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-PHP-7-with-PHP-Modules.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23146\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-PHP-7-with-PHP-Modules.png\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-PHP-7-with-PHP-Modules.png 797w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-PHP-7-with-PHP-Modules-768x283.png 768w\" alt=\"Install PHP 7 with PHP Modules\" width=\"797\" height=\"294\" aria-describedby=\"caption-attachment-23146\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23146\" class=\"wp-caption-text\">Install PHP 7 with PHP Modules<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0After PHP7 and its required modules are installed and configured on your server, run\u00a0<code>php -v<\/code>\u00a0command in order see the current release version of\u00a0<strong>PHP<\/strong>.<\/p>\n<pre>$ php -v\r\n<\/pre>\n<div id=\"attachment_23148\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-PHP-Version-in-Ubuntu-16.10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23148\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-PHP-Version-in-Ubuntu-16.10.png\" alt=\"Check Installed PHP Version\" width=\"712\" height=\"121\" aria-describedby=\"caption-attachment-23148\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23148\" class=\"wp-caption-text\">Check Installed PHP Version<\/p>\n<\/div>\n<p><strong>10.<\/strong>\u00a0To further tests\u00a0<strong>PHP7<\/strong>\u00a0and its modules configuration, create a\u00a0<code>info.php<\/code>\u00a0file in apache\u00a0<code>\/var\/www\/html\/<\/code>webroot directory.<\/p>\n<pre>$ sudo nano \/var\/www\/html\/info.php\r\n<\/pre>\n<p>add the below lines of code to\u00a0<code>info.php<\/code>\u00a0file.<\/p>\n<pre>&lt;?php \r\nphpinfo();\r\n?&gt;\r\n<\/pre>\n<p>Restart apache service to apply changes.<\/p>\n<pre>$ sudo systemctl restart apache2\r\n<\/pre>\n<p>Open your web browser and type the following URL to check the PHP configuration.<\/p>\n<pre>https:\/\/your_server_IP_address\/info.php \r\n<\/pre>\n<div id=\"attachment_23149\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-PHP-Configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23149\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-PHP-Configuration.png\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-PHP-Configuration.png 819w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Check-PHP-Configuration-768x780.png 768w\" alt=\"Check PHP Configuration\" width=\"819\" height=\"832\" aria-describedby=\"caption-attachment-23149\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23149\" class=\"wp-caption-text\">Check PHP Configuration<\/p>\n<\/div>\n<p><strong>11.<\/strong>\u00a0If you wanted to install additional PHP modules, use\u00a0<strong>apt<\/strong>\u00a0command and press\u00a0<code>[TAB]<\/code>\u00a0key after\u00a0<strong>php7.0<\/strong>\u00a0string and the bash autocomplete feature will automatically show you all available\u00a0<strong>PHP 7<\/strong>\u00a0modules.<\/p>\n<pre>$ sudo apt install php7.0[TAB]\r\n<\/pre>\n<div id=\"attachment_23150\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/List-Available-PHP-Modules.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23150\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/List-Available-PHP-Modules.png\" alt=\"List All Available PHP 7 Modules\" width=\"704\" height=\"191\" aria-describedby=\"caption-attachment-23150\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23150\" class=\"wp-caption-text\">List All Available PHP 7 Modules<\/p>\n<\/div>\n<h3>Step 3: Install MariaDB 10 in Ubuntu 16.10<\/h3>\n<p><strong>12.<\/strong>\u00a0Now it\u2019s time to install latest version of\u00a0<strong>MariaDB<\/strong>\u00a0with the needed PHP modules to access the database from\u00a0<strong>Apache-PHP<\/strong>\u00a0interface.<\/p>\n<pre>$ sudo apt install php7.0-mysql mariadb-server mariadb-client\r\n<\/pre>\n<div id=\"attachment_23151\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-MariaDB-in-Ubuntu-16.10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23151\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-MariaDB-in-Ubuntu-16.10.png\" sizes=\"auto, (max-width: 788px) 100vw, 788px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-MariaDB-in-Ubuntu-16.10.png 788w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Install-MariaDB-in-Ubuntu-16.10-768x431.png 768w\" alt=\"Install MariaDB in Ubuntu 16.10\" width=\"788\" height=\"442\" aria-describedby=\"caption-attachment-23151\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23151\" class=\"wp-caption-text\">Install MariaDB in Ubuntu 16.10<\/p>\n<\/div>\n<p><strong>13.<\/strong>\u00a0Once\u00a0<strong>MariaDB<\/strong>\u00a0has been installed, you need to secure its installation using the security script, which will set a\u00a0<strong>root<\/strong>\u00a0password, revoke anonymous access, disable root login remotely and remove the test database.<\/p>\n<pre>$ sudo mysql_secure_installation\r\n<\/pre>\n<div id=\"attachment_23152\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Secure-MariaDB-Installation-in-Ubuntu-16.10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23152\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Secure-MariaDB-Installation-in-Ubuntu-16.10.png\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Secure-MariaDB-Installation-in-Ubuntu-16.10.png 800w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/Secure-MariaDB-Installation-in-Ubuntu-16.10-768x576.png 768w\" alt=\"Secure MariaDB Installation in Ubuntu 16.10\" width=\"800\" height=\"600\" aria-describedby=\"caption-attachment-23152\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23152\" class=\"wp-caption-text\">Secure MariaDB Installation in Ubuntu 16.10<\/p>\n<\/div>\n<p><strong>14.<\/strong>\u00a0In order to give MariaDB database access to system normal users without using\u00a0<strong>sudo<\/strong>\u00a0privileges, login to MySQL prompt using root and run the below commands:<\/p>\n<pre>$ sudo mysql \r\nMariaDB&gt; use mysql;\r\nMariaDB&gt; update user set plugin=\u2019\u2018 where User=\u2019root\u2019;\r\nMariaDB&gt; flush privileges;\r\nMariaDB&gt; exit\r\n<\/pre>\n<p>To learn more about MariaDB basic usage, you should read our series:\u00a0<a href=\"https:\/\/www.tecmint.com\/learn-mysql-mariadb-for-beginners\/\" target=\"_blank\" rel=\"noopener\">MariaDB for Beginners<\/a><\/p>\n<p><strong>15.<\/strong>\u00a0Then, restart MySQL service and try to login to database without root as shown.<\/p>\n<pre>$ sudo systemctl restart mysql.service\r\n$ mysql -u root -p\r\n<\/pre>\n<p><strong>16.<\/strong>\u00a0Optionally, if you wanted to administer MariaDB from a web browser, install\u00a0<strong>PhpMyAdmin<\/strong>.<\/p>\n<pre>$ sudo apt install php-gettext phpmyadmin\r\n<\/pre>\n<p>During\u00a0<strong>PhpMyAdmin<\/strong>\u00a0installation select\u00a0<code>apache2<\/code>\u00a0web server, choose\u00a0<code>No<\/code>\u00a0for configure phpmyadmin with\u00a0<strong>dbconfig-common<\/strong>\u00a0and add a strong password for the web interface.<\/p>\n<p><strong>16.<\/strong>\u00a0After\u00a0<strong>PhpMyAdmin<\/strong>\u00a0has been installed, you can access the web interface of\u00a0<strong>Phpmyadmin<\/strong>\u00a0at the below URL.<\/p>\n<pre>https:\/\/your_server_IP_address\/phpmyadmin\/ \r\n<\/pre>\n<div id=\"attachment_23154\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/PhpMyAdmin-on-Ubuntu-16.10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-23154\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/PhpMyAdmin-on-Ubuntu-16.10.png\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/PhpMyAdmin-on-Ubuntu-16.10.png 980w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/10\/PhpMyAdmin-on-Ubuntu-16.10-768x650.png 768w\" alt=\"PhpMyAdmin on Ubuntu 16.10\" width=\"980\" height=\"830\" aria-describedby=\"caption-attachment-23154\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-23154\" class=\"wp-caption-text\">PhpMyAdmin on Ubuntu 16.10<\/p>\n<\/div>\n<p>If you wanted to secure your PhpMyAdmin web interface, go through our article:\u00a0<a href=\"https:\/\/www.tecmint.com\/secure-phpmyadmin-centos-ubuntu\/\" target=\"_blank\" rel=\"noopener\">4 Useful Tips to Secure PhpMyAdmin Web Interface<\/a><\/p>\n<p>That\u2019s all! Now you have a complete LAMP stack setup installed and running on Ubuntu 16.10, which enables you to deploy dynamic websites or application on your Ubuntu server.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/install-lamp-on-ubuntu-16-10\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will go through the various steps to install the constituent packages in\u00a0LAMP\u00a0stack with\u00a0PHP 7and\u00a0MariaDB 10\u00a0on\u00a0Ubuntu 16.10\u00a0Server and Desktop editions. As you may already know,\u00a0LAMP\u00a0(Linux,\u00a0Apache,\u00a0MySQL\/MariaDB,\u00a0PHP) stack is the assortment of leading open source web development software packages. This web platform is made up of a web server, database management system and a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/06\/how-to-install-lamp-with-php-7-and-mariadb-10-on-ubuntu-16-10\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Install LAMP with PHP 7 and MariaDB 10 on Ubuntu 16.10&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13871","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13871"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13871\/revisions"}],"predecessor-version":[{"id":13872,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13871\/revisions\/13872"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}