Hello

In order to deal with different sites configurations how can I use more
than one php.ini ?
Another way will be to overide the register_globals = On directive but I
don't know how to do.

I know that I can use a .php.ini in user directory but this solution  is
not appropriate to me because the server is running under the apache
user and I don't want to change this setting.

Any idea ?
--------------------
you can override some php config options in .htaccess files. for register
globals use .....
php_value register_globals 1

to have php parse all htm files
RemoveHandler .html .htm
AddType application/x-httpd-php .htm .html

There are more options you can override...but that'll get you started

i'm not sure, but don't think you can use multpile php.ini files under a
single user. to do the above you'll need to set the appropriate options for
the directory in httpd.conf.  AllowOverride etc....

hth
Jeff
-------------------
Cordialy

Joël Kermabon
Neptune Internet Services



Reply via email to