[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: php.ini change: no effect on "Local Value"

On Domingo 10 Mayo 2009 18:44:01 Toba escribió:
> Hello all,
> I want to set up Joomla! on a server.
> I "leaved" register_globals to "On" in /etc/php5/apache2/php.ini.
> But as Joomla! requires register_globals to "Off", I created a php.ini file
> in /var/www/joolma (the root directory).
> Content of the file:
> tsorpa:/var/www/joomla# cat php.ini
> [PHP]
> register_globals = off
> tsorpa:/var/www/joomla#
> But no effect when I check phpinfo(): register_globals is still set to "ON"
> on both Master Value and Local Value.
> Does someone know why? Is my php.ini synthax incorrect? Have I to change
> something in main php.ini to permit a Local Value change?
> Best regards,
> Tôba

You could use .htaccess[1] instead of a local php.ini


Good Luck

Alex Infantes
Oruro - Bolivia

Reply to: