use Apache .htaccess files to set PHP options for each directory
edit .htaccess of apache
contents:
+++++++++++++++++++++++++++++++++++++
php_value register_globals 1
php_value mbstring.language Japanese
php_value session.cache_expire 180
…….
…….
++++++++++++++++++++++++++++++++++++++
you should configure httpd.conf
in your virtualhosts or directories
…
…
AllowOverride All
…
put .htaccess into directory you want