Safe mode

#1
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

LiteSpeed Staff
#2
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.
 
Top