[RESOLVED]Setting php_admin_value and php_admin_flag

Discussion in 'PHP' started by garnser, Feb 1, 2010.

  1. garnser

    garnser New Member

    Hi all,

    I recently got started using Litespeed and have a question related to php_admin_value and php_admin_flag. My main goal is to limit my virtualhosts to be unable to control certain values using .htaccess (some should be modifiable).

    Looking at the general php-documentation the following is valid for apache (This is just an example):
    <IfModule mod_php5.c>
    php_admin_flag safe_mode on
    </IfModule>

    To do this in Litespeed do I need to create a httpd.conf where I set this or is there same options throughout the web-ui where I can manage this?

    Thanks
  2. mistwang

    mistwang LiteSpeed Staff

    You can use Apache style configuration if you configure everything from web console.
    If you use Apache httpd.conf, then everything should be done in httpd.conf.
  3. garnser

    garnser New Member

    Thanks! That did the trick.

Share This Page