| re: how to solve this problem with REGISTER_GLOBALS='On'
"wonder" <a@b.com> wrote in message news:cg81v8$2p3m$1@news.hgc.com.hk...[color=blue]
> Hi,
>
> The CRM application said that need to add an option
> "REGISTER_GLOBALS=On" to the php.ini file, so I did what it told.
> But I still can't get rid off the following error:
>
> The PHP variable "REGISTER_GLOBALS" is disabled (0). This is fatal.
> Edit your php.ini and set REGISTER_GLOBALS to "On".
>
> I changed the value "On" to "Yes", still getting the same error.
> What is the correct way to fix this problem? It might be not reading the
> php.ini file. The php.ini file is located at /usr/local/etc/ directory,
> and I have also made a symbolic link to /etc/ as well.
>
> The relevant content of the php.ini file is:
>
> [PHP]
>
> REGISTER_GLOBALS='yes'
>
> .....
>
>
> Thanks
> sam[/color]
Try not using quotes.
register_globals = On
instead of
register_globals = 'On'
Also, make sure you restart the server after making the changes.
- JP |