Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
troubleshooting:url-file-access-disabled-php-5.2 [2010-11-24 10:52:23] – Approved garrett.plaskytroubleshooting:url-file-access-disabled-php-5.2 [2011-06-30 16:05:06] (current) – Approved garrett.plasky
Line 7: Line 7:
 With the above in mind, if you still decide that you need to have URL file-access enabled for your includes, you will need to add the new directive to your php.ini since it is not already defined and defaults to disabled (0). On a blank line in your php.ini (/usr/local/lib/php.ini on cPanel servers), add the following: With the above in mind, if you still decide that you need to have URL file-access enabled for your includes, you will need to add the new directive to your php.ini since it is not already defined and defaults to disabled (0). On a blank line in your php.ini (/usr/local/lib/php.ini on cPanel servers), add the following:
  
-<q>allow_url_include = On</q>+<sxh plain>allow_url_include = On</sxh>
  
 Restart your webserver and you're done. Restart your webserver and you're done.
 {{tag>php security}} {{tag>php security}}