{"id":3030,"date":"2012-09-24T19:29:19","date_gmt":"2012-09-24T19:29:19","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=3030"},"modified":"2013-01-14T17:59:58","modified_gmt":"2013-01-14T17:59:58","slug":"disable-the-php-information-on-server-for-client","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/disable-the-php-information-on-server-for-client\/","title":{"rendered":"Disable the php information on server for client"},"content":{"rendered":"<p>To secure the server from the hacker its always better to disable the php information on server for client, so that hacker is not able to access the server php information like version etc. To disable the php information, open a servers main php.ini file and make the following changes.<\/p>\n<p><strong>Change from<br \/>\nexpose_php = On<\/p>\n<p>To<br \/>\nexpose_php = Off<\/strong><\/p>\n<p>By default the expose_php variable is enabled on the server, so make sure that you have disabled it.<\/p>\n<p><!-- Place this tag where you want the +1 button to render --><br \/>\n<g:plusone><\/g:plusone><\/p>\n<p><!-- Place this render call where appropriate --><br \/>\n<script type=\"text\/javascript\">\n  (function() {\n    var po = document.createElement('script'); po.type = 'text\/javascript'; po.async = true;\n    po.src = 'https:\/\/apis.google.com\/js\/plusone.js';\n    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);\n  })();\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>To secure the server from the hacker its always better to disable the php information on server for client, so that hacker is not able <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/disable-the-php-information-on-server-for-client\/\" title=\"Disable the php information on server for client\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-3030","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/3030"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=3030"}],"version-history":[{"count":2,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/3030\/revisions"}],"predecessor-version":[{"id":3400,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/3030\/revisions\/3400"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=3030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=3030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=3030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}