Changeset 5aa5f6e in git


Ignore:
Timestamp:
2012-07-14T04:28:26Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
032a12a
Parents:
f8d40fb
Message:

avoid bogus warning for fcgi

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@975 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    rf8d40fb r5aa5f6e  
    38523852    REGISTER_INI_ENTRIES();
    38533853
    3854     if (strcmp(sapi_module.name, "cgi-fcgi") == 0) {
     3854    if (strcmp(sapi_module.name, "cgi-fcgi") == 0 && !sapi_module.additional_functions && !getenv("XCACHE_SKIP_FCGI_WARNING") && !getenv("GATEWAY_INTERFACE")) {
    38553855        if ((getenv("PHP_FCGI_CHILDREN") == NULL) || (atoi(getenv("PHP_FCGI_CHILDREN")) < 1)) {
    3856             zend_error(E_ERROR, "PHP_FCGI_CHILDREN should be >= 1 and use 1 group of parent/childs model. See " XCACHE_WIKI_URL "/Faq");
     3856            zend_error(E_WARNING, "PHP_FCGI_CHILDREN should be >= 1 and use 1 group of parent/childs model. Set XCACHE_SKIP_FCGI_WARNING=1 to skip this warning. See " XCACHE_WIKI_URL "/Faq");
    38573857        }
    38583858    }
Note: See TracChangeset for help on using the changeset viewer.