Use Apache .htaccess files to set PHP options

use Apache .htaccess files to set PHP options for each directory
edit .htaccess of apache
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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get more stuff like this
in your inbox

From anti-aging to the search for alien life, we promise to never bore.