I noticed fr om other posts, that this error relates to a confusions between mod_fcgi and mod_hostinglimits.
I would like PHP via FCGI and other scripts monitored by cloudlinux.
I'm running apache 1.3 for this example.
the extra/httpd-hostinglimits.conf looks like this now:
httpd.conf contains this:
apache runs like this:
Now, the error message (Can't enter to lve from slave context) no longer appears, but lveinfo -d does no longer show websites running PHP5 via fcgi.
I'm guessing they are no longer protected from using to many resources now?
I would like PHP via FCGI and other scripts monitored by cloudlinux.
I'm running apache 1.3 for this example.
the extra/httpd-hostinglimits.conf looks like this now:
| Code |
|---|
LoadModule hostinglimits_module /hsphere/shared/apache/libexec/mod_hostinglimits.so <IfModule mod_hostinglim its.c> SkipErrors Off # AllowedHandlers cgi-script php5-script php4-script php-script application/x-httpd-php5 application/x-httpd-php x-httpd-php fcgid-script application/x-httpd-php4 AllowedHandlers cgi-script fcgid-script </IfModule> |
httpd.conf contains this:
| Code |
|---|
<IfDefine FASTCGI> <IfDefine !LIBLVE> LoadModule fastcgi_module libexec/mod_fastcgi.so </IfDefine> <IfDefine LIBLVE> LoadModule fastcgi_module libexec/mod_fastcgi_lve.so </IfDefine> </IfDefine> |
apache runs like this:
| Code |
|---|
/hsphere/shared/apache/bin/httpd -DLIBPHP5 -DSSL -DFASTCGI -DFRONTPAGE -DSECURITY -DLIBLVE -f /hsphere/local/config/httpd/httpd.conf |
Now, the error message (Can't enter to lve from slave context) no longer appears, but lveinfo -d does no longer show websites running PHP5 via fcgi.
I'm guessing they are no longer protected from using to many resources now?
