Announcement

Collapse
No announcement yet.

mod_fcgid and EnableLVE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mod_fcgid and EnableLVE

    Hi,

    CentOS was successfully(?) converted to CL. After that, I began reading the docs... :-)
    I try to enable LVE for mod_fcgid, but httpd -t bails out, when I put EnableLVE on in my php.conf...

    Code:
    [root]#httpd -t
    
    Syntax error on line 11 of /usr/local/apache/conf/php.conf:
    
    Invalid command EnableLVE, perhaps misspelled or defined by a module not included in the server configuration
    The setup: cPanel, Apache, mod_fcgid.

    Code:
    [root@de1][conf][0]#cat php.conf
    
    ...
    
    # Fastcgi configuration for PHP5
    
    LoadModule fcgid_module modules/mod_fcgid.so
    
    # CloudLinux & FCGId
    
    #EnableLVE on
    
    ...
    Code:
    [root]#httpd -M | grep -i hostinglim
    
    Syntax OK
    
    hostinglimits_module (shared)
    Code:
    [root]#rpm -qa | grep -i lve
    
    lve-0.8-20
    
    liblve-devel-0.8-20
    
    kernel-headers-2.6.18-338.19.1.el5.lve0.8.36
    
    kernel-2.6.18-338.19.1.el5.lve0.8.36
    
    liblve-0.8-20
    
    lve-utils-0.6-6.el5.cloudlinux
    
    lve-stats-0.5-18.el5.cloudlinux
    
    kernel-devel-2.6.18-338.19.1.el5.lve0.8.36
    Code:
    [root]#uname -r
    
    2.6.18-338.19.1.el5.lve0.8.36
    Code:
    [root]#httpd -v
    
    Server version: Apache/2.2.19 (Unix)
    
    Server built:   Aug 20 2011 17:55:14
    
    Cpanel::Easy::Apache v3.5.2 rev9999 +cloudlinux
    Code:
    [root]#httpd -G | grep mod_fcgid >/dev/hull && echo OK
    
    OK
    Many thanks!

  • #2
    This option is no longer needed in cPanel.
    It is all controlled via mod_hostinglimits

    Comment


    • #3
      Thank you!
      I come to the same conclusion, cause the limit works and there is no EnableLVE option:

      Code:
      [root]#httpd -G | grep mod_host
      
      SkipErrors (mod_hostinglimits.c)
      
      LVEId (mod_hostinglimits.c)
      
      LVEUser (mod_hostinglimits.c)
      
      AllowedHandlers (mod_hostinglimits.c)
      
      DenyHandlers (mod_hostinglimits.c)
      
      LVEErrorCode (mod_hostinglimits.c)
      
      ErrorDocument (mod_hostinglimits.c)
      
      AssignUserID (mod_hostinglimits.c)
      
      RUidGid (mod_hostinglimits.c)
      
      LVESitesDebug (mod_hostinglimits.c)

      Comment

      Working...
      X