{"id":699,"date":"2018-03-05T14:02:23","date_gmt":"2018-03-05T06:02:23","guid":{"rendered":"https:\/\/www.techcoil.com\/blog\/?p=699"},"modified":"2018-08-10T11:12:11","modified_gmt":"2018-08-10T03:12:11","slug":"how-to-setup-phpmyadmin-on-a-raspbian-stretch-lite-nginx-mariadb-mysql-and-php-7-lemp-stack","status":"publish","type":"post","link":"https:\/\/www.techcoil.com\/blog\/how-to-setup-phpmyadmin-on-a-raspbian-stretch-lite-nginx-mariadb-mysql-and-php-7-lemp-stack\/","title":{"rendered":"How to setup phpMyAdmin on a Raspbian Stretch Lite, Nginx, MariaDB \/ MySQL and PHP 7 LEMP stack"},"content":{"rendered":"<p>The <a href=\"https:\/\/www.phpmyadmin.net\/\" rel=\"noopener\" target=\"_blank\">phpMyAdmin<\/a> project is a solid software tool written in PHP, that can help us handle the administration of MySQL \/ MariaDB over the web. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/phpMyAdminDemoServer-4.7.8-demo-screenshot.gif\" alt=\"phpMyAdmin Demo Server 4.7.8 demo screenshot\" \/><\/p>\n<p>If you want to build your next project with a Raspbian Stretch Lite, Nginx, MariaDB \/ MySQL and PHP 7 <a href=\"https:\/\/www.techcoil.com\/lemp\" rel=\"noopener\" target=\"_blank\">LEMP stack<\/a>, you may want to consider setting up phpMyAdmin as well. This post details how you can do so.<\/p>\n<h2>Prerequisites<\/h2>\n<p>This post assumes that you had setup a Raspberry Pi running a Raspbian Stretch Lite, Nginx, MariaDB \/ MySQL and PHP 7 <a href=\"https:\/\/www.techcoil.com\/lemp\" rel=\"noopener\" target=\"_blank\">LEMP stack<\/a>. If you had not done so, you may want to reference either the <a href=\"https:\/\/www.techcoil.com\/blog\/setting-up-wordpress-on-raspberry-pi-3-with-raspbian-stretch-lite-nginx-mariadb-and-php-7-as-the-lemp-stack\/\" rel=\"noopener\" target=\"_blank\">Raspberry Pi 3 WordPress<\/a> tutorial or <a href=\"https:\/\/www.techcoil.com\/blog\/setting-up-wordpress-on-raspberry-pi-zero-w-with-raspbian-stretch-lite-nginx-mariadb-and-php-as-the-lemp-stack\/\" rel=\"noopener\" target=\"_blank\">Raspberry Pi Zero W WordPress<\/a> tutorial to setup your LEMP stack.<\/p>\n<h2>Using SSH to get into your Raspbian Stretch Lite<\/h2>\n<p>Suppose that your Raspbian Stretch Lite had gotten the IP address <code>192.168.1.109<\/code> from your home router and you had the <code>pi<\/code> user in the system, run the following command on your terminal to SSH into your Raspberry Stretch Lite:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nssh pi@192.168.1.109\r\n<\/pre>\n<h2>Installing mbstring extension for PHP 7.0 on Raspbian Stretch Lite<\/h2>\n<p>Without the <a href=\"http:\/\/php.net\/manual\/en\/book.mbstring.php\" rel=\"noopener\" target=\"_blank\"><code>mbstring<\/code><\/a> extension, phpMyAdmin is unable to split strings correctly and it may result in unexpected results. <\/p>\n<p>Run the following command to install the mbstring extension for PHP 7.0 on Raspbian Stretch Lite:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt-get install php7.0-mbstring \r\n<\/pre>\n<h2>Creating a database user for administering your database via phpMyAdmin<\/h2>\n<p>The root user of MariaDB \/ MySQL could be using the <a href=\"https:\/\/mariadb.com\/kb\/en\/library\/authentication-plugin-unix-socket\/\" rel=\"noopener\" target=\"_blank\">Authentication Plugin<\/a> for authentication. <\/p>\n<p>The Authentication Plugin allows the user to use operating system credentials when connecting to MariaDB via Unix socket. This authentication mode cannot be used for logging into phpMyAdmin for administering your database.<\/p>\n<p>Hence, we need to create a database user for us to login through phpMyAdmin. To do so, we first get into MariaDB interactive shell with the following command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo mariadb\r\n<\/pre>\n<p>Or the MySQL interactive shell with the following command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo mysql\r\n<\/pre>\n<p>Once you are inside the interactive shell, run the following commands to create a database user that have the privileges to administer any database in your MariaDB \/ MySQL server:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nCREATE USER 'pmauser'@'localhost' IDENTIFIED BY 'password';\r\nGRANT ALL ON *.* TO 'pmauser'@'localhost';\r\n<\/pre>\n<h2>Allocate a domain name for your phpMyAdmin site<\/h2>\n<p>The next step is to designate a domain name for accessing your phpMyAdmin site. If you already own a domain, you may want to create a subdomain out of your existing domain. For instance, I could use <code>pma.techcoil.com<\/code> for my phpMyAdmin site residing on my Raspbian Stretch Lite.<\/p>\n<h2>Getting a copy of phpMyAdmin<\/h2>\n<p>Once we had decided the domain for accessing our phpMyAdmin site, we can proceed to download a copy of phpMyAdmin. You can see the list of phpMyAdmin versions that are available for download via their <a href=\"https:\/\/www.phpmyadmin.net\/files\/\" rel=\"noopener\" target=\"_blank\">download page<\/a>.<\/p>\n<p>As of this writing, the latest stable version is <a href=\"https:\/\/www.phpmyadmin.net\/files\/4.7.8\/\" rel=\"noopener\" target=\"_blank\">version 4.7.8<\/a>. Proceed to download the english version by running the following commands:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd \/var\/www\r\nsudo wget https:\/\/files.phpmyadmin.net\/phpMyAdmin\/4.7.8\/phpMyAdmin-4.7.8-english.tar.gz\r\nsudo tar -xvf phpMyAdmin-4.7.8-english.tar.gz\r\nsudo mv phpMyAdmin-4.7.8-english pma.techcoil.com\r\nsudo rm phpMyAdmin-4.7.8-english.tar.gz\r\n<\/pre>\n<p>Once the command completes, you should have the source codes for phpMyAdmin 4.7.8 available at the <code>\/var\/www\/pma.techcoil.com<\/code> directory.<\/p>\n<h2>Configuring blowfish secret for your phpMyAdmin site<\/h2>\n<p>The phpMyAdmin installation directory contains a sample configuration file which we can reference for configuring our phpMyAdmin site. <\/p>\n<p>To configure our phpMyAdmin site, we first make a copy of that configuration file:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo cp \/var\/www\/pma.techcoil.com\/config.sample.inc.php \/var\/www\/pma.techcoil.com\/config.inc.php\r\n<\/pre>\n<p>Once we had done so, use <code>nano<\/code> to open up the configuration file for editing:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo nano \/var\/www\/pma.techcoil.com\/config.inc.php \r\n<\/pre>\n<p>Inside the editor, look for <code>$cfg['blowfish_secret']<\/code> and provide a 32 character long blowfish secret:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$cfg&#x5B;'blowfish_secret'] = '123456789012345678901234567890AB';\r\n<\/pre>\n<p>Once you had done so, save the file.<\/p>\n<h2>Configuring Nginx to proxy HTTP traffic to your phpMyAdmin site<\/h2>\n<p>Once we had configured the blowfish secret for phpMyAdmin, the next step is to <a href=\"https:\/\/www.techcoil.com\/blog\/configuring-nginx-for-php-web-applications\/\" rel=\"noopener\" target=\"_blank\">configure Nginx to proxy HTTP traffic to our PHP web application<\/a>.<\/p>\n<p>To do so, create a configuration file at <code>\/etc\/nginx\/sites-enabled\/pma.techcoil.com.conf<\/code> with <code>nano<\/code>:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo nano \/etc\/nginx\/sites-enabled\/pma.techcoil.com.conf\r\n<\/pre>\n<p>And paste in the following contents:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nserver {\r\n\r\n        listen 80;\r\n        server_name pma.techcoil.com;\r\n        root \/var\/www\/pma.techcoil.com;\r\n        index index.php;\r\n\r\n        location \/ {\r\n                try_files $uri $uri\/ \/index.php?$args;\r\n        }\r\n\r\n        location ~ \\.php$ {\r\n                include fastcgi.conf;\r\n                fastcgi_pass unix:\/run\/php\/php7.0-fpm.sock;\r\n        }\r\n\r\n}\r\n<\/pre>\n<p>Once you had created the configuration file, restart Nginx with the following command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo systemctl restart nginx.service\r\n<\/pre>\n<h2>Editing the hosts file to access your phpMyAdmin site from your work computer<\/h2>\n<p>Once you had restarted Nginx on your Raspbian Stretch Lite, go to your computer and add in the following contents to your hosts file:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n192.168.1.109 pma.techcoil.com\r\n<\/pre>\n<h2>Accessing your phpMyAdmin site from your work computer<\/h2>\n<p>With the entry in your hosts file, you can access your phpMyAdmin site via the domain name that you had provided (for eg. http:\/\/pma.techcoil.com\/) with your browser. You should be able to see the login screen:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/phpMyAdmin-4.7.8-login-screen.gif\" alt=\"phpMyAdmin 4.7.8 login screen\" \/><\/p>\n<p>Key in the details of the database user that you had created earlier to login to the dashboard. Once you had logged in successfully, you should be able to see the following screen:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/phpMyAdmin-4.7.8-dashboard-screen.png\" alt=\"phpMyAdmin 4.7.8 dashboard screen\"  \/><\/p>\n<h2>Setting up phpMyAdmin configuration storage<\/h2>\n<p>A warning message will be displayed at the bottom of the dashboard:<\/p>\n<blockquote><p>\nThe phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why.<br \/>\nOr alternately go to 'Operations' tab of any database to set it up there.\n<\/p><\/blockquote>\n<p>Click on the \"Find out why\" link and then click on the \"Create\" link on the next page that follows. After you had clicked on the \"Create\" link, phpMyAdmin will create a database instance <code><strong>phpmyadmin<\/strong><\/code> for it to store configuration information such as navigation histories, bookmarks and etc.<\/p>\n<p>At this point in time, you have a setup that is sufficient for your to administer your MariaDB database on your Raspbian Stretch Lite. <\/p>\n<p>However, if you wish to access your phpMyAdmin site from outside your home network, read on to implement further configurations for your site.<\/p>\n<h2>Let's Encrypt your phpMyAdmin site with a browser-trusted SSL\/TLS certificates <\/h2>\n<p>When you make your phpMyAdmin site communicate in HTTPS, you can be sure that the communication channel between your browser and your phpMyAdmin site is secure. <\/p>\n<p>Fortunately, <a href=\"https:\/\/letsencrypt.org\/\" rel=\"noopener\" target=\"_blank\">Let's Encrypt<\/a> makes it easy for web masters to deploy secure web applications that serve HTTPS.  <\/p>\n<p>This section shows how you can secure your phpMyAdmin site with Let's Encrypt.<\/p>\n<h3>Prequisites to serving your phpMyAdmin site via HTTPS<\/h3>\n<p>In a separate post, I had discussed the topic on <a href=\"https:\/\/www.techcoil.com\/blog\/how-to-host-multiple-websites-from-home\/\" rel=\"noopener\" target=\"_blank\">how to host multiple websites from home<\/a>. Following those pointers, you will need the following pieces for your phpMyAdmin site to be accessed from outside your home network with Let's Encrypt browser-trusted certificate:<\/p>\n<ul>\n<li>A domain or subdomain name that is mapped to the public IP address that your home router had gotten from the Internet Service Provider.<\/li>\n<li>Forwarding of network traffic made to port 80 and 443 of your home router public IP address to the IP address of the Raspberry Pi that contains your phpMyAdmin site. In case you are using the <a href=\"https:\/\/www.amazon.com\/Linksys-AC1900-Wireless-Router-EA7500\/dp\/B019WAQMVY\/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=clivsperswebs-20&linkId=90e4f12d1a93783154edffbd6fc0f79d&language=en_US\" rel=\"noopener\" target=\"_blank\">Linksys AC1900 Dual Band Wireless Router<\/a>, you can <a href=\"https:\/\/www.techcoil.com\/blog\/host-web-server-behind-linksys-ea7500-max-stream-ac1900-router\/\" rel=\"noopener\" target=\"_blank\">checkout this post on how to do so<\/a><\/li>\n<\/ul>\n<h3>Installing Certbot on Raspbian Stretch Lite for obtaining Let\u2019s Encrypt\u2019s browser-trusted certificates<\/h3>\n<p>In order to use Let's Encrypt facilities, we will need a ACME client to help us get the SSL artefacts from Let's Encrypt. Therefore, you will need to <a href=\"https:\/\/www.techcoil.com\/blog\/installing-certbot-on-raspbian-stretch-lite-for-obtaining-lets-encrypts-browser-trusted-certificates\/\" rel=\"noopener\" target=\"_blank\">install Certbot on Raspbian Stretch Lite for obtaining Let\u2019s Encrypt\u2019s browser-trusted certificates<\/a>.<\/p>\n<h3>Configuring Nginx to facilitate Certbot in acquiring the SSL certificate for my domain or subdomain<\/h3>\n<p>After installing Certbot, proceed to configure Nginx to facilitate Certbot in acquiring the SSL certificate for your domain.<\/p>\n<p>In order to do so, use <code>nano<\/code> to load <code>\/etc\/nginx\/sites-enabled\/pma.techcoil.com.conf<\/code>:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo nano \/etc\/nginx\/sites-enabled\/pma.techcoil.com.conf\r\n<\/pre>\n<p>After the editor loads the file, change the content to look like the following:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nserver {\r\n \r\n        listen 80;\r\n        server_name pma.techcoil.com;\r\n        root \/var\/www\/pma.techcoil.com;\r\n        index index.php;\r\n \r\n        location \/ {\r\n                try_files $uri $uri\/ \/index.php?$args;\r\n        }\r\n \r\n        location ~ \\.php$ {\r\n                include fastcgi.conf;\r\n                fastcgi_pass unix:\/run\/php\/php7.0-fpm.sock;\r\n        }\r\n\r\n        location ~ \/.well-known {\r\n                allow all;\r\n        }\r\n \r\n}\r\n<\/pre>\n<p>Once you had changed the content, type <strong>Ctrl-X<\/strong> followed by <strong>Y<\/strong> to save the file.<\/p>\n<p>Afterwards, restart Nginx with the following command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo systemctl restart nginx.service\r\n<\/pre>\n<h3>Using Certbot to get Let's Encrypt to issue browser-trusted SSL certificate for my domain<\/h3>\n<p>After Nginx is ready to facilitate Certbot in acquiring the SSL certificate artefacts, run the following command to acquire them:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo certbot certonly -a webroot --webroot-path=\/var\/www\/pma.techcoil.com -d pma.techcoil.com\r\n<\/pre>\n<h3>Generating a strong Diffie-Hellman group<\/h3>\n<p>Once Certbot had fetched the SSL certificate artefacts for my domain, generate a Diffie-Hellman group for Nginx to use for exchanging cryptographic keys with its clients:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo openssl dhparam -out \/etc\/ssl\/certs\/dhparam.pem 2048\r\n<\/pre>\n<h3>Updating the Nginx configurations for serving HTTPS for your phpMyAdmin site<\/h3>\n<p>Till this point, you will have the necessary artefacts for Nginx to serve HTTPS. Therefore, you can update the Nginx configurations to use those artefacts in serving HTTPS.<\/p>\n<p>Firstly, use <code>nano<\/code> to load <code>\/etc\/nginx\/sites-enabled\/pma.techcoil.com.conf<\/code> again:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo nano \/etc\/nginx\/sites-enabled\/pma.techcoil.com.conf\r\n<\/pre>\n<p>Once the editor loads the file, replace its content with the following:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nupstream php {\r\n        server unix:\/run\/php\/php7.0-fpm.sock;\r\n}\r\n\r\nserver {\r\n\tlisten 80;\r\n\tserver_name  pma.techcoil.com;\r\n\treturn 301 https:\/\/$host$request_uri;\r\n}\r\n     \r\n# For ssl\r\n\tssl on;\r\n    \tssl_certificate \/etc\/letsencrypt\/live\/pma.techcoil.com\/fullchain.pem;\r\n    \tssl_certificate_key \/etc\/letsencrypt\/live\/pma.techcoil.com\/privkey.pem;\r\n    \tssl_protocols TLSv1 TLSv1.1 TLSv1.2;\r\n    \tssl_prefer_server_ciphers on;\r\n    \tssl_dhparam \/etc\/ssl\/certs\/dhparam.pem;\r\n   \tssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';\r\n    \tssl_session_timeout 1d;\r\n    \tssl_session_cache shared:SSL:50m;\r\n    \tssl_stapling on;\r\n    \tssl_stapling_verify on;\r\n    \tadd_header Strict-Transport-Security max-age=15768000;\r\n      \r\n    \tdefault_type  application\/octet-stream;\r\n      \r\n    \tlisten 443;\r\n\tserver_name pma.techcoil.com;\r\n\r\n        root \/var\/www\/pma.techcoil.com;\r\n        index index.php;\r\n \r\n\tlocation ~ \/.well-known {\r\n        \tallow all;\r\n    \t}\r\n\t\r\n        location \/ {\r\n                try_files $uri $uri\/ \/index.php?$args;\r\n        }\r\n \r\n        location ~ \\.php$ {\r\n                include fastcgi.conf;\r\n                fastcgi_pass unix:\/run\/php\/php7.0-fpm.sock;\r\n        }\r\n  \r\n}\r\n<\/pre>\n<p>After that, type <strong>Ctrl-X<\/strong> followed by <strong>Y<\/strong> to save the configuration file.<\/p>\n<p>Once you had saved the configuration file, run the following command to restart Nginx:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo systemctl restart nginx.service\r\n<\/pre>\n<h3>Remove entry from your hosts file<\/h3>\n<p>Since you will now be able to access your phpMyAdmin site from outside your home network, you will want to remove the entry from your hosts file on your work computer.<\/p>\n<p>With that, go to your hosts file and remove the entry that you had created earlier:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n192.168.1.109 pma.techcoil.com\r\n<\/pre>\n\n      <ul id=\"social-sharing-buttons-list\">\n        <li class=\"facebook\">\n          <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwp.me%2Fp245TQ-bh\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n            <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Facebook.png\" alt=\"Facebook icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"twitter\">\n          <a href=\"https:\/\/twitter.com\/intent\/tweet?text=&url=https%3A%2F%2Fwp.me%2Fp245TQ-bh&via=Techcoil_com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Twitter.png\" alt=\"Twitter icon\"> Tweet\n          <\/a>\n        <\/li>\n        <li class=\"linkedin\">\n          <a href=\"https:\/\/www.linkedin.com\/shareArticle?mini=1&title=&url=https%3A%2F%2Fwp.me%2Fp245TQ-bh&source=https:\/\/www.techcoil.com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/linkedin.png\" alt=\"Linkedin icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"pinterest\">\n          <a href=\"https:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Fwww.techcoil.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F699&description=\" class=\"pin-it-button\" target=\"_blank\" role=\"button\" rel=\"nofollow\" count-layout=\"horizontal\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Pinterest.png\" alt=\"Pinterest icon\"> Save\n          <\/a>\n        <\/li>\n      <\/ul>\n    ","protected":false},"excerpt":{"rendered":"<p>The <a href=\"https:\/\/www.phpmyadmin.net\/\" rel=\"noopener\" target=\"_blank\">phpMyAdmin<\/a> project is a solid software tool written in PHP, that can help us handle the administration of MySQL \/ MariaDB over the web. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/phpMyAdminDemoServer-4.7.8-demo-screenshot.gif\" alt=\"phpMyAdmin Demo Server 4.7.8 demo screenshot\" \/><\/p>\n<p>If you want to build your next project with a Raspbian Stretch Lite, Nginx, MariaDB \/ MySQL and PHP 7 <a href=\"https:\/\/www.techcoil.com\/lemp\" rel=\"noopener\" target=\"_blank\">LEMP stack<\/a>, you may want to consider setting up phpMyAdmin as well. This post details how you can do so.<\/p>\n","protected":false},"author":1,"featured_media":962,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[4],"tags":[156,242,446,9,225,13,518,240,412,445,195,438],"jetpack_featured_media_url":"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/phpMyAdminDemoServer-4.7.8-demo-screenshot.gif","jetpack_shortlink":"https:\/\/wp.me\/p245TQ-bh","jetpack-related-posts":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/699"}],"collection":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/comments?post=699"}],"version-history":[{"count":0,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/699\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media\/962"}],"wp:attachment":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media?parent=699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/categories?post=699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/tags?post=699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}