{"id":25,"date":"2011-03-21T14:50:55","date_gmt":"2011-03-21T14:50:55","guid":{"rendered":"http:\/\/rat32.com\/rat32\/?p=25"},"modified":"2013-10-11T03:44:52","modified_gmt":"2013-10-11T03:44:52","slug":"how-to-solve-warning-unknown-failed-to-open-stream-permission-denied-in-unknown-on-line-0-fatal-error-unknown-failed-opening-required-optlampphtdocs-index-php-include_path","status":"publish","type":"post","link":"https:\/\/rat32.com\/rat32\/2011\/03\/21\/how-to-solve-warning-unknown-failed-to-open-stream-permission-denied-in-unknown-on-line-0-fatal-error-unknown-failed-opening-required-optlampphtdocs-index-php-include_path\/","title":{"rendered":"How to solve &#8220;Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0  Fatal error: Unknown: Failed opening required &#8216;\/opt\/lampp\/htdocs\/&#8230;&#8230;\/index.php&#8217; (include_path=&#8217;.:\/opt\/lampp\/lib\/php&#8217;) in Unknown on line 0 &#8221; problem?"},"content":{"rendered":"<p>This error is due to the file permission. To resolve this issue we should change permission with SuperUser(sudo). So syntax is <\/p>\n<p><strong>sudo chmod -R 0755 foldername<\/strong><\/p>\n<p>I have installed lampp in \/opt\/lampp\/htdocs folder so command for this is<\/p>\n<p><strong>sudo chmod -R 0755 \/opt\/lampp\/htdocs<\/strong><\/p>\n<p>Open your terminal and run this command, hope this helps. If you are helped with this please don&#8217;t forget to post comment. <\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>This error is due to the file permission. To resolve this issue we should change permission with SuperUser(sudo). So syntax is sudo chmod -R 0755 foldername I have installed lampp in \/opt\/lampp\/htdocs folder so&#46;&#46;&#46;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,43],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-how-to","category-ubuntu-2"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/25"}],"collection":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":8,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/25\/revisions"}],"predecessor-version":[{"id":113,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/posts\/25\/revisions\/113"}],"wp:attachment":[{"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/media?parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/categories?post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rat32.com\/rat32\/wp-json\/wp\/v2\/tags?post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}