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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Safe mode

Reply
 
Thread Tools Display Modes
  #1  
Old 09-04-2008, 10:58 PM
netinternet netinternet is offline
Member
 
Join Date: Sep 2008
Posts: 16
Default Safe mode

Hello,
I am new to Litespeed and want to know , how can I turn off safe mode for a virtual host? I was perfoming this via a custom php.ini file in the document root of virtual host. But now these php.ini file does not work.
Thanks in advance
Reply With Quote
  #2  
Old 09-05-2008, 06:48 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
This configuration can be overridden in the same way as with mod_php.
through the vhost configuration in Apache httpd.conf,

php_admin_flag safe_mode off

it wont work in .htaccess.

if vhost is configured natively through LSWS web console, add above configuration to "Apache style configuration" setting.
Reply With Quote
  #3  
Old 12-26-2008, 09:28 AM
netinternet netinternet is offline
Member
 
Join Date: Sep 2008
Posts: 16
This worked for me for a while ago.
But now, this directive does not work.
Does anybody has suggestion?
Reply With Quote
  #4  
Old 12-26-2008, 07:54 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Have you changed anything? update LSWS?
It should work.
Reply With Quote
  #5  
Old 12-27-2008, 04:31 AM
netinternet netinternet is offline
Member
 
Join Date: Sep 2008
Posts: 16
Yes it worked.
I think it is a cPanel related problem. Custom chages on httpd.conf are disappering somehow. Thank you
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 11:11 PM.



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