{"id":1766,"date":"2014-08-06T23:44:07","date_gmt":"2014-08-07T03:44:07","guid":{"rendered":"http:\/\/codebangers.com\/?p=1766"},"modified":"2020-02-24T19:36:47","modified_gmt":"2020-02-25T00:36:47","slug":"install-phpmyadmin-on-nginx","status":"publish","type":"post","link":"https:\/\/codebangers.com\/install-phpmyadmin-on-nginx\/","title":{"rendered":"Install phpmyadmin on nginx"},"content":{"rendered":"<p>Paste this code inside the server{} code in your etc\/nginx\/sites-available\/example.com file.<\/p>\n<div class=\"wp-block-codemirror-blocks code-block \">\n<pre class=\"CodeMirror\" data-setting=\"{&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;lineWrapping&quot;:false,&quot;styleActiveLine&quot;:false,&quot;readOnly&quot;:true,&quot;align&quot;:&quot;&quot;}\">location \/phpmyadmin { root \/usr\/share\/; index index.php index.html index.htm; location ~ ^\/phpmyadmin\/(.+\\.php)$ { try_files $uri =404; root \/usr\/share\/; fastcgi_pass unix:\/var\/run\/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ~* ^\/phpmyadmin\/(.+\\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root \/usr\/share\/; } } location \/phpMyAdmin { rewrite ^\/* \/phpmyadmin last; }<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Paste this code inside the server{} code in your etc\/nginx\/sites-available\/example.com file. location \/phpmyadmin { root \/usr\/share\/; index index.php index.html index.htm; location ~ [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1767,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,15],"tags":[],"class_list":["post-1766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howto","category-linux-1"],"_links":{"self":[{"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/posts\/1766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/comments?post=1766"}],"version-history":[{"count":2,"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/posts\/1766\/revisions"}],"predecessor-version":[{"id":20909,"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/posts\/1766\/revisions\/20909"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/media\/1767"}],"wp:attachment":[{"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/media?parent=1766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/categories?post=1766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codebangers.com\/wp-json\/wp\/v2\/tags?post=1766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}