control php value in .htaccess

jackc

Active Member
#1
when we have apache, mod_php, we used to be able to control php values like register_globals use .htaccess, makes it very handy for hosting users, now after switching to litespeed, this no longer works, is there a way to make it work? some users need to change the values before their application require to do so.
 

mistwang

LiteSpeed Staff
#2
It should work unless you turn off .htaccess. That's one main advantage that litespeed PHP solution over others like suphp or fastcgi PHP.
 

jackc

Active Member
#3
not sure why doesn't seem to work, tried
php_value register_globals on
in .htaccess doesn't work, but other stuff like redirect works.
 

anewday

Well-Known Member
#4
There is a setting in php.ini that allows others to override settings with htaccess. I don't remember it off the top of my head.
 

jackc

Active Member
#5
i'm using the same php.ini from my apache configuration, was able to control php values when using apache, but after switching to litespeed, can't do that anymore, is there a setting in litespeed I missed?
 

jackc

Active Member
#10
actually, i got it working now.
it seems eaccelerator was caching the phpinfo page makes the values don't change. :(
my bad
thanks for the help.
 
Top