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