{"id":9900779,"date":"2018-01-25T08:29:55","date_gmt":"2018-01-25T08:29:55","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/prevent-usage-of-suphp_configpath\/"},"modified":"2018-01-25T08:31:12","modified_gmt":"2018-01-25T08:31:12","slug":"prevent-usage-of-suphp_configpath","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/prevent-usage-of-suphp_configpath\/","title":{"rendered":"Prevent usage of `suPHP_ConfigPath` in .htaccess"},"content":{"rendered":"<p>By default, BPS writes:<\/p>\n<pre><code># CUSTOM CODE TOP PHP\/PHP.INI HANDLER\/CACHE CODE\n# PHP\/php.ini handler htaccess code\n   suPHP_ConfigPath &#039;\/home\/globa298\/public_html\/travel\/prod&#039;<\/code><\/pre>\n<p>The problem is that cpanel logs an error:<\/p>\n<pre><code>[Thu Jan 25 16:08:49.691029 2018] [core:alert] [pid 35615] [client 141.8.143.196:34550] \/home\/tomh9670\/public_html\/travel\/prod\/.htaccess: Invalid command &#039;suPHP_ConfigPath&#039;, perhaps misspelled or defined by a module not included in the server configuration\n[Thu Jan 25 16:08:37.015887 2018] [core:alert] [pid 36691] [client 84.201.133.61:59826] \/home\/tomh9670\/public_html\/travel\/prod\/.htaccess: Invalid command &#039;suPHP_ConfigPath&#039;, perhaps misspelled or defined by a module not included in the server configuration\n<\/code><\/pre>\n<p>How can I prevent the <code>suPHP_ConfigPath<\/code> from being written (or re-written even if I manually comment it out in <code>.htaccess<\/code>?<\/p>\n","protected":false},"template":"","class_list":["post-9900779","topic","type-topic","status-publish","hentry","topic-tag-htaccess"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9900779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9900779\/revisions"}],"predecessor-version":[{"id":9900787,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9900779\/revisions\/9900787"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9900779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}