Changeset 1a087fb in git


Ignore:
Timestamp:
2012-07-16T08:11:39Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
e53af1f
Parents:
fb9bb38
Message:

fix build. additional_functions requires PHP 5.3

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r032a12a r1a087fb  
    66========
    77 * closes #972: warning/error when XCache is loaded incorrectly
    8  * closes #73: warn for improper PHP_FCGI_CHILDREN setting fcgi mode
     8 * closes #73: warn for improper PHP_FCGI_CHILDREN setting fcgi mode (>=PHP_5_3)
    99 * closes #174: updated api for clear all cache
    1010
  • xcache.c

    r032a12a r1a087fb  
    38713871    REGISTER_INI_ENTRIES();
    38723872
     3873    /* additional_functions requires PHP 5.3. TODO: find simpler way to do it */
     3874#ifdef ZEND_ENGINE_2_3
    38733875    if (strcmp(sapi_module.name, "cgi-fcgi") == 0 && !sapi_module.additional_functions && !getenv("XCACHE_SKIP_FCGI_WARNING") && !getenv("GATEWAY_INTERFACE")) {
    38743876        if ((getenv("PHP_FCGI_CHILDREN") == NULL) || (atoi(getenv("PHP_FCGI_CHILDREN")) < 1)) {
     
    38763878        }
    38773879    }
     3880#endif
    38783881
    38793882    xc_config_long(&xc_php_size,       "xcache.size",        "0");
Note: See TracChangeset for help on using the changeset viewer.