{"id":817,"date":"2014-10-21T15:40:02","date_gmt":"2014-10-21T15:40:02","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=817"},"modified":"2014-10-21T15:40:02","modified_gmt":"2014-10-21T15:40:02","slug":"php-include-path-changes","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/10\/21\/php-include-path-changes\/","title":{"rendered":"php include path changes"},"content":{"rendered":"<p>Loading a phpinfo file for a domain on a cpanel server, you notice that the &#8220;include_path&#8221; variable changes.<\/p>\n<p>Resolution:<\/p>\n<p>With PHP PEAR enabled, PEAR is by default configured to include its PHP directory (\/home\/domina\/php in this case). You can disable \/home\/domain\/php from being in the PHP include_path by either removing that directory (\/home\/freedc\/php) or uninstalling PEAR through EasyApache.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Loading a phpinfo file for a domain on a cpanel server, you notice that the &#8220;include_path&#8221; variable changes. Resolution: With PHP PEAR enabled, PEAR is by default configured to include its PHP directory (\/home\/domina\/php in this case). You can disable \/home\/domain\/php from being in the PHP include_path by either removing that directory (\/home\/freedc\/php) or uninstalling &#8230; <a title=\"php include path changes\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/10\/21\/php-include-path-changes\/\" aria-label=\"Read more about php include path changes\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,84],"tags":[],"class_list":["post-817","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-php"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=817"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/817\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}