LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Site that works on Apache but not LiteSpeed - Need assistance

Reply
 
Thread Tools Display Modes
  #11  
Old 07-19-2009, 10:42 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Glad you fixed it.
Reply With Quote
  #12  
Old 07-20-2009, 08:04 AM
MikeDVB MikeDVB is offline
Senior Member
 
Join Date: Jul 2009
Posts: 218
Quote:
Originally Posted by anewday View Post
Glad you fixed it.
I always do, just sometimes I have to be more resourceful than other times. LiteSpeed is a great replacement for Apache but there is still some new stuff to learn
Reply With Quote
  #13  
Old 07-20-2009, 09:28 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
Originally Posted by MikeDVB View Post
I see that LiteSpeed is not using their custom php.ini - this is the base issue - is this not something that is supported by LiteSpeed or is this something that needs enabled/configured?
suphp uses php.ini under user's directory, while LiteSpeed is like mod_php, uses global php.ini + .htaccess .
LiteSpeed can be configured to use php.ini under user's directory, however, I think php.ini + .htaccess is more secure as the server admin can control which PHP feature is allowed, which is not.
Reply With Quote
  #14  
Old 07-20-2009, 09:37 AM
MikeDVB MikeDVB is offline
Senior Member
 
Join Date: Jul 2009
Posts: 218
Quote:
Originally Posted by mistwang View Post
suphp uses php.ini under user's directory, while LiteSpeed is like mod_php, uses global php.ini + .htaccess .
LiteSpeed can be configured to use php.ini under user's directory, however, I think php.ini + .htaccess is more secure as the server admin can control which PHP feature is allowed, which is not.
Yeah - I prefer to have it in the .htaccess

I'll do some more looking around
Reply With Quote
  #15  
Old 07-20-2009, 10:06 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
.htaccess can only override certain configuration, not all of them,
http://www.php.net/manual/en/ini.list.php
directive with changeable "PHP_INI_SYSTEM" cannot be changed in .htaccess.
Reply With Quote
  #16  
Old 07-20-2009, 12:00 PM
MikeDVB MikeDVB is offline
Senior Member
 
Join Date: Jul 2009
Posts: 218
Quote:
Originally Posted by mistwang View Post
.htaccess can only override certain configuration, not all of them,
http://www.php.net/manual/en/ini.list.php
directive with changeable "PHP_INI_SYSTEM" cannot be changed in .htaccess.
Thank you very much for the follow up!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:48 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.