mod_fcgid and EnableLVE
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Zsolt Antal
  2. 20.08.2011
  3.  Subscribe via email
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...

[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.

[[email protected]][conf][0]#cat php.conf
...
# Fastcgi configuration for PHP5
LoadModule fcgid_module modules/mod_fcgid.so
# CloudLinux & FCGId
#EnableLVE on
...


[root]#httpd -M | grep -i hostinglim
Syntax OK
hostinglimits_module (shared)


[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


[root]#uname -r
2.6.18-338.19.1.el5.lve0.8.36


[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


[root]#httpd -G | grep mod_fcgid >/dev/hull && echo OK
OK


Many thanks!
Rate this post:
  1. 20.08.2011 21:08:17
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
This option is no longer needed in cPanel.
It is all controlled via mod_hostinglimits
  1. 21.08.2011 03:08:59
  2. # 2
Zsolt Antal Accepted Answer
Posts: 1
Joined: 19.08.2011
0
Votes
Undo
Thank you!
I come to the same conclusion, cause the limit works and there is no EnableLVE option:

[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)
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.