disable_functions per directory not possible with LiteSpeed?

Discussion in 'General' started by tina, Aug 7, 2012.

  1. tina

    tina Well-Known Member

    Currently, with LiteSpeed, in order to specify custom PHP values, only .htaccess (not php.ini) files can be used, on a per-directory basis.

    You can use a custom php.ini file on a per user basis, but it affects all of the directories that belong to the user.

    The problem is that the PHP value 'disable_functions' can only be customized using php.ini (not .htaccess) files, so it affects all of the user's directories, which is a higher security risk.

    Is there any way for LiteSpeed to support php.ini files on a per-directory basis as well? We previously used SuPHP with Apache and it worked with that setup.

    Alternatively, is there another way to customize 'disable_functions' on a per-directory basis, when running LiteSpeed?

    Thanks in advance for any advice. :)
  2. webizen

    webizen Well-Known Member

Share This Page