Несколько советов, по использованию файлов.htaccess на сайтах под управлением Joomla CMS From my cpanel I could turn off Register_Globals. just go the your cpanel. When i'm try add to my.htaccess file line - register_globals = off i'm take mistake. I have 2 scritpts on 2 different folders. One on them need the register globals to On and the other to Off. Is it possible to enable regsiter globals on one folder. If your apache instance allows you to override flags through. htaccess you can put the following in your file: php_flag register_globals off. The most common setting. I am working on a framework that uses register_globals. My local php version is 5.4. I know register_globals is DEPRECATED since PHP 5.3.0 and REMOVED in PHP 5.4. Perhaps the most controversial change in PHP is when the default value for the PHP directive register_globals went from ON to OFF in PHP » 4.2.0. The most common setting that clients will want to change are the “register_globals” settings. If you want to enable register_globals, you will need to create a.htaccess децентрализованное управление конфигурацией ВЕБ-сервера Apache - Конфигурация PHP в.htaccess How to set the PHP register_globals directive in an.htaccess file. This article describes how to enable and disable the register_globals directive in an.htaccess file. register_globals is a PHP environment setting that has. Another option is to introduce the preferred setting by making an entry in the.htaccess file at the root.