Changeset f8d40fb in git


Ignore:
Timestamp:
2012-07-14T03:53:25Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
5aa5f6e
Parents:
7fa7675
Message:

fixes #73: warn for improper PHP_FCGI_CHILDREN setting fcgi mode

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r7fa7675 rf8d40fb  
    112.1.0 2012-??-??
    22 * fixes #972: warning/error when XCache is loaded incorrectly
     3 * fixes #73: warn for improper PHP_FCGI_CHILDREN setting fcgi mode
    34
    452.0.1 2012-07-14
  • NEWS

    r7fa7675 rf8d40fb  
    22========
    33 * improvements
     4 * adds warning for misconfiguration
    45
    562.0.1 2012-07-14
  • xcache.c

    ref18f7a rf8d40fb  
    38523852    REGISTER_INI_ENTRIES();
    38533853
     3854    if (strcmp(sapi_module.name, "cgi-fcgi") == 0) {
     3855        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");
     3857        }
     3858    }
     3859
    38543860    xc_config_long(&xc_php_size,       "xcache.size",        "0");
    38553861    xc_config_hash(&xc_php_hcache,     "xcache.count",       "1");
Note: See TracChangeset for help on using the changeset viewer.