Re: registered globals on localhost (apache)
| From: | Steffen Ebermann | Date: | Thu, 22 Feb 2007 14:24:52 +0000 |
| Subject: | Re: registered globals on localhost (apache) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249236@lists.php.net to get a copy of this message | ||
On Thu, Feb 22, 2007 at 01:40:53PM -0000, Ross wrote:
> I have my RG's switched off in my local .ini but I am tinkering about with
> oscommerce.
>
> php_value register_globals on
>
> I tried to change add this line to the .htaccess file in the catalog folder
> but still gives the error
>
>
> Server Requirement Error: register_globals is disabled in your PHP
> configuration. This can be enabled in your php.ini configuration file or in
> the .htaccess file in your catalog directory.
>
>
> Can I change the RG settings in tis way on my localhost?
http://php.net/manual/en/ini.php#ini.list
Below you can find a table explaining the PHP_INI_*-values.
Also you should use php_flag to set a boolean configuration directive.
http://php.net/manual/en/configuration.changes.php#configuration.changes.apache
--
Steffen