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.