{"id":170,"date":"2009-10-04T17:03:54","date_gmt":"2009-10-04T21:03:54","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=170"},"modified":"2013-03-20T08:40:10","modified_gmt":"2013-03-20T12:40:10","slug":"php-pages-asking-for-download","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/php-pages-asking-for-download","title":{"rendered":"PHP pages asking for download"},"content":{"rendered":"<p>If your <strong>.php files are prompting for download<\/strong> on browsing, make sure PHP is compiled with Apache and you have following lines in your Apache configuration file<\/p>\n<blockquote><p><span style=\"color: #993300;\"><strong>AddHandler application\/x-httpd-php .php .html<\/strong><\/span><\/p><\/blockquote>\n<p>You can also add the above line in your <strong>.htaccess file<\/strong> of the domain.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your .php files are prompting for download on browsing, make sure PHP is compiled with Apache and you have following lines in your Apache configuration file<br \/>\nAddHandler application\/x-httpd-php .php .html<br \/>\nYou can also add the above line in your .htaccess file of the domain.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[191,192,190],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/170"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=170"}],"version-history":[{"count":5,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/170\/revisions"}],"predecessor-version":[{"id":173,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/170\/revisions\/173"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}