Support Joomla!

1.5 Template Project

The Joomla! Documentation Working Group is running a project to develop detailed reference and tutorial material on Joomla! 1.5 templates.  There is a project page on the documentation wiki where you can see the work in progress and help us by contributing your knowledge.

Who's Online

We have 97 guests online

Help Site License

The Joomla! Help Site content is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution NonCommercial ShareAlike 2.5. Some parts of this website may be subject to other licenses.
Home arrow FAQs

PHP: Help! I can't turn PHP register_globals OFF!
Author(s):RliskeyExperience level:Beginner
Contributors:Joomla! version:1.0
Date added:Tuesday, 30 November 1999Date last changed:Friday, 06 July 2007
 

Overview

If your server is configured to allow it, you can adjust PHP's register_globals setting by adding local php.ini files to your site's directory. The local php.ini files will override the server's default php.ini settings.

 

The Bad News

  1. Local php.ini files do not effect sub-directories the way .htaccess files do. You must add a php.ini file to each sub-directory in which files are served directly to web browsers.
  2. Some third party extensions and javascript enabled scripts may also require a copy of your local php.ini in their directory.

 

The Good News

  1. For most Joomla! sites, there are only two directories to deal with. One is the main /public_html/ directory in which the site's index.php file is located. The other is the /administrator/ directory.
  2. In most cases, when Joomla! reports that register_globals is still on, it's because the local php.ini file was not copied into the /administrator/ directory.
  3. Note that there is no need to copy the local php.ini file into every directory of your site.

Last Updated Friday, 06 July 2007
Tags
< Prev   Next >

Powered by EasyFAQ © 2006 Joomla-addons.org