Search results

  1. G

    PHP 7.0.0alpha1 and SuEXEC

    Could you do the same for "php71"? And perhaps somewhat prioritise making that list configurable? :) Edit: scratch that, php71 seems to work just fine. My question about the configurability of the list still remains, though. ;)
  2. G

    PHP 7.0.0alpha1 and SuEXEC

    Hi, PHP 7.0.0alpha1 has been released today. Because we'd like to test PHP 7 in our environment, could you add "php70" and "php7" to the list of suEXEC-capable suffixes as soon as possible? Also, could you reconsider making this list configurable? Thanks!
  3. G

    [Resolved] PHP 5.6 and suEXEC

    Hi, PHP 5.6.0 has been released today. Could you add "php56" to the list of suEXEC-capable suffixes as soon as possible? Also, could you reconsider making this list configurable? Thanks!
  4. G

    Setting environment variables in .htaccess

    It seems environment variables don't work as expected on LiteSpeed and aren't compatible with the way Apache does things. I have this, which works on Apache: SetEnvIf Request_URI "^/path/to/admin.*$" adminUri AuthName "Password protected" AuthType Basic AuthUserFile ./.htpasswd...
  5. G

    [solved] suExec not working for specific External App

    Right, thanks. :) Do you think the suffixes could be made configurable? That way, one could define as many suffixes as desired and have as many PHP versions installed als he would ilke.
  6. G

    [solved] suExec not working for specific External App

    We have Litespeed running with 3 External Apps (php4Lsapi, php5Lsapi, php53Lsapi), all of them doing suExec and workign as expected. However, I have just added a new external all called phpDebugLsapi with script handler phpdebug to debug an issue we've been experiencing with a specific PHP...
  7. G

    lsphp: suPHP-like paranoid mode

    Thanks for your answer, however it is not really what I meant. I didn't mean that LSWS should take over the UID/GID of the file it executes, that would be a bad idea anyway, but perhaps there should be an option to have LSWS refuse to execute a file if its UID/GID does not match the UID/GID...
  8. G

    lsphp: suPHP-like paranoid mode

    I would like to know if there is something available like suPHP's paranoid mode (see http://www.suphp.org/DocumentationView.html?file=INSTALL) where a script will only be executed if the group and owner match those in the configuration file. If not, is such a feature considered for future...
  9. G

    document_root trailing slash

    Could it be that this was implemented in 4.1.5? Since upgrading to 4.1.5, the DOCUMENT_ROOT variable under LiteSpeed ALWAYS has a trailing slash. Our vhost configuration defines all DocumentRoot directives without slash. This broke quite a few sites, so we're back on 4.1.4 until this gets...
  10. G

    Debian kFreeBSD

    I would like to know if there are any plans to support Debian kFreeBSD? I tried installing the FreeBSD version on it but it fails with "ELF interpreter /libexec/ld-elf.so.1 not found", which is indeed not present in Debian kFreeBSD. Thanks!
  11. G

    Variable containing document root

    Thank you mistwang for the clarification. I understand why it won't work this way. Aside from having a different user for each subdomain (which is not possible at all in our setup), do you have any idea how we could achieve this? If I'm not mistaken, it would work in Apache (although I never...
  12. G

    Variable containing document root

    Unfortunately, the contents of the $DOC_ROOT variable is also unchanged. This is still /web/username/domain.tld/default instead of the actual value of the DocumentRoot directive in our configuration which is /web/username/domain.tld/subdomain/.
  13. G

    Variable containing document root

    Hello NiteWave, Unfortunately, after upgrading I don't see any difference in the value of the variables. Also, I don't understand what you mean by "$VH_ROOT/DEFAULT". I don't want to append /DEFAULT to anything, what I would like is a variable containing the value of the DocumentRoot directive...
  14. G

    Variable containing document root

    Sorry for the late reply, I've been busy with other issues. We are using Apache-style configuration for our virtual hosts. The only place where I can find a reference to "default" in our configuration is in the default vhost config: <VirtualHost 11.22.33.44:80> # Default VirtualHost...
  15. G

    Variable containing document root

    Thank you for your answer, this is indeed almost what I want and I tried that already, but not quite. The PHPIniDir directive and PHPRC variable both allow you to use a completely different php.ini file. I want to use a system-wide php.ini file, and on top of that allow the user to have its own...
  16. G

    Variable containing document root

    Thank you for your reply, however, I don't want to configure the PHP variables in the virtual host configuration, I want our customers to have their own php.ini file in which they can override the values in our system-wide php.ini. More specifically, some customers want to load a specific...
  17. G

    Variable containing document root

    We are trying to have a default system-wide php.ini to which values can be added per virtual host by having a php.ini in that host's document root. The PHP_INI_SCAN_DIR variable is ideal for that. We tried setting that variable to $VH_NAME, $VH_ROOT or $DOC_ROOT, unfortunately none of them...
  18. G

    SetEnv alternative

    Gah, of course, stupid me. Thank you! :) Would you know why they are not visible in the environment list?
  19. G

    SetEnv alternative

    You're right, unfortunately it still doesn't work. Is there something we might need to enable in LiteSpeed to make it work? I've set up a completely empty virtualhost at http://gerry.isol.be/phpinfo.php with the following .htaccess: RewriteEngine On RewriteRule . -...
  20. G

    SetEnv alternative

    It doesn't work, the following is a phpinfo() where the aforementioned .htaccess is set: http://flow.d2d.be/phpinfo.php
Top