Link to home
Start Free TrialLog in
Avatar of Chroma
Chroma

asked on

sessions problem

hello

I'm running 2 php applications on the same server.
In the php.ini file,
the first one need "session.save_handler = user"
and the second one need "session.save_handler = file"
to work properly.

How can I solve this problem ?
Is there a way to have a php.ini file per application ?
Or is it a way to change the save_handler at runtime ?

Thx
ASKER CERTIFIED SOLUTION
Avatar of mirtol
mirtol

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Agree with Mirtol, you can overwrite php.ini settings using apache conf or .htaccess

Examples:

# on/off values

php_flag register_globals off
php_flag track_vars on
php_flag magic_quotes_gpc off

# string values

php_value include_path ".:/home/myincdir/"
Avatar of Chroma
Chroma

ASKER

php_value is just what I was looking for.

Thanks a lot