]> granicus.if.org Git - php/commitdiff
OPcache must be compatible with LiteSpeed SAPI
authorDmitry Stogov <dmitry@zend.com>
Mon, 24 Jun 2013 07:59:50 +0000 (11:59 +0400)
committerDmitry Stogov <dmitry@zend.com>
Mon, 24 Jun 2013 07:59:50 +0000 (11:59 +0400)
NEWS
ext/opcache/ZendAccelerator.c

diff --git a/NEWS b/NEWS
index 75380b02d4e7d4a738bc1113c3eaa8d89d04505c..2d354998c31af84930190d5e8684a67e35b430a8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,9 @@ PHP                                                                        NEWS
   . Fixed bug #65088 (Generated configure script is malformed on OpenBSD).
     (Adam)
 
+OPcache
+  . OPcache must be compatible with LiteSpeed SAPI (Dmitry)
+
 - CLI server:
   . Fixed bug #65066 (Cli server not responsive when responding with 422 http
     status code). (Adam)
index 875a4727a883fb964888812811bb6e1e31d3c8a5..4d983976bbdf3c8dc45609b8ac969a1abbc2fc25 100644 (file)
@@ -2375,6 +2375,7 @@ static inline int accel_find_sapi(TSRMLS_D)
                "isapi",
                "apache2filter",
                "apache2handler",
+               "litespeed",
                NULL
        };
        const char **sapi_name;
@@ -2499,7 +2500,7 @@ static int accel_startup(zend_extension *extension)
                    strcmp(sapi_module.name, "cli") == 0) {
                        zps_startup_failure("Opcode Caching is disabled for CLI", NULL, accelerator_remove_cb TSRMLS_CC);
                } else {
-                       zps_startup_failure("Opcode Caching is only supported in Apache, ISAPI, FPM and FastCGI SAPIs", NULL, accelerator_remove_cb TSRMLS_CC);
+                       zps_startup_failure("Opcode Caching is only supported in Apache, ISAPI, FPM, FastCGI and LiteSpeed SAPIs", NULL, accelerator_remove_cb TSRMLS_CC);
                }
                return SUCCESS;
        }