Use Apache .htaccess files to set PHP options

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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