Differences

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

Link to this comparison view

Both sides previous revision Previous revision
troubleshooting:url-file-access-disabled-php-5.2 [2010-11-24 18:52:23]
garrett.plasky Approved
troubleshooting:url-file-access-disabled-php-5.2 [2011-06-30 23:05:06] (current)
garrett.plasky Approved
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}}