PDA

View Full Version : Safe mode


netinternet
09-04-2008, 11:58 PM
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

mistwang
09-05-2008, 07:48 AM
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.

netinternet
12-26-2008, 10:28 AM
This worked for me for a while ago.
But now, this directive does not work.
Does anybody has suggestion?

mistwang
12-26-2008, 08:54 PM
Have you changed anything? update LSWS?
It should work.

netinternet
12-27-2008, 05:31 AM
Yes it worked.
I think it is a cPanel related problem. Custom chages on httpd.conf are disappering somehow. Thank you