{"id":722,"date":"2012-01-29T16:05:58","date_gmt":"2012-01-30T00:05:58","guid":{"rendered":"http:\/\/blog.portnumber53.com\/?p=722"},"modified":"2012-01-29T16:05:58","modified_gmt":"2012-01-30T00:05:58","slug":"brighter-lamp-phpmyadmin-installation","status":"publish","type":"post","link":"https:\/\/blog.portnumber53.com\/index.php\/2012\/01\/29\/brighter-lamp-phpmyadmin-installation\/","title":{"rendered":"Brighter LAMP: phpmyadmin installation"},"content":{"rendered":"<p>Install mcrypy for phpmyadmin dependencies:<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"literal-block\"># apt-get install php5-mcrypt<\/pre>\n<p>&nbsp;<\/p>\n<p>Now you need to restart apache for the changes to take effect<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"literal-block\"># \/etc\/init.d\/apache2 restart<\/pre>\n<p>&nbsp;<\/p>\n<p>Now, on to the installation:<\/p>\n<p># apt-get install phpmyadmin<\/p>\n<p>&nbsp;<\/p>\n<p>Choose Apache2 when you&#39;re prompted<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Answer yes to Configure database for phpmyadmin with dbconfig-common?<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>after that,<\/p>\n<p>&nbsp;<\/p>\n<p>Configure phpmyadmin<\/p>\n<p>&nbsp;<\/p>\n<p>su &#8211; httpd<\/p>\n<p>cd domains\/<\/p>\n<p>cd ~domains\/debian.portnumber53.local\/html<\/p>\n<p>(Create the directory if it doesn&#39;t exist)<\/p>\n<p>$ ln -s \/usr\/share\/phpmyadmin .phpMyAdmin<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>nano \/etc\/phpmyadmin\/config.inc.php<\/p>\n<p>$cfg[&#8216;blowfish_secret&#8217;] = &#39;&#39;; \/* YOU MUST FILL IN THIS FOR COOKIE AUTH! *\/<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p># nano \/etc\/php5\/conf.d\/suhosin.ini<\/p>\n<p>Edit the following, keeping in mind that suhosin values may cause issues with some operations<\/p>\n<p>suhosin.request.max_vars 2048<br \/>\n\tsuhosin.request.max_value_length 1000000<br \/>\n\tsuhosin.request.max_array_index_length 256<br \/>\n\tsuhosin.request.max_totalname_length 8192<br \/>\n\tsuhosin.post.max_vars 2048<br \/>\n\tsuhosin.post.max_array_index_length 256<br \/>\n\tsuhosin.post.max_totalname_length 8192<br \/>\n\tsuhosin.post.max_value_length 1000000<br \/>\n\tsuhosin.sql.bailout_on_error Off<br \/>\n\tsuhosin.log.file 0<br \/>\n\tsuhosin.log.phpscript 0<br \/>\n\tsuhosin.log.phpscript.is_safe Off<br \/>\n\tsuhosin.log.sapi 0<br \/>\n\tsuhosin.log.script 0<br \/>\n\tsuhosin.log.use-x-forwarded-for Off<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Disable the warning<\/p>\n<p>&nbsp;<\/p>\n<p># nano \/etc\/phpmyadmin\/config.inc.php<\/p>\n<p>$cfg[&#8216;SuhosinDisableWarning&#8217;] = true;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install mcrypy for phpmyadmin dependencies: &nbsp; # apt-get install php5-mcrypt &nbsp; Now you need to restart apache for the changes to take effect &nbsp; # \/etc\/init.d\/apache2 restart &nbsp; Now, on to the installation: # apt-get install phpmyadmin &nbsp; Choose Apache2 when you&#39;re prompted &nbsp; &nbsp; Answer yes to Configure database&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/blog.portnumber53.com\/index.php\/2012\/01\/29\/brighter-lamp-phpmyadmin-installation\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/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":[14],"tags":[191,210,275],"class_list":["post-722","post","type-post","status-publish","format-standard","hentry","category-linux","tag-installation","tag-lamp","tag-phpmyadmin"],"_links":{"self":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts\/722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/comments?post=722"}],"version-history":[{"count":0,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts\/722\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/media?parent=722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/categories?post=722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/tags?post=722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}