]> granicus.if.org Git - php/commitdiff
Use PHP_VERSION for zend modules
authorPeter Kokot <peterkokot@gmail.com>
Sun, 19 May 2019 15:18:29 +0000 (17:18 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 9 Jun 2019 20:32:47 +0000 (22:32 +0200)
Closes #4147

sapi/apache2handler/php_functions.c
sapi/cgi/cgi_main.c
sapi/fpm/fpm/fpm_main.c
sapi/litespeed/lsapi_main.c

index ba2400f6a022e3c0b7f608b08dc190f2a8045728..c82b93f9656db0d77b3171639eae9f79f0edd193 100644 (file)
@@ -559,6 +559,6 @@ zend_module_entry php_apache_module = {
        NULL,
        NULL,
        PHP_MINFO(apache),
-       NULL,
+       PHP_VERSION,
        STANDARD_MODULE_PROPERTIES
 };
index 14dccbde1e7763d5d390194d326956c43c3246ba..a716b7cf3c762ab3bb76bb6788faa7b749db3b51 100644 (file)
@@ -1730,7 +1730,7 @@ static zend_module_entry cgi_module_entry = {
        NULL,
        NULL,
        PHP_MINFO(cgi),
-       NO_VERSION_YET,
+       PHP_VERSION,
        STANDARD_MODULE_PROPERTIES
 };
 
index dd6671e102bed98e94b845c7b53e48c2c94df3ce..9916b8bf7c8cf2acd01373637e711f82ec87d3e7 100644 (file)
@@ -1528,7 +1528,7 @@ static zend_module_entry cgi_module_entry = {
        NULL,
        NULL,
        PHP_MINFO(cgi),
-       NO_VERSION_YET,
+       PHP_VERSION,
        STANDARD_MODULE_PROPERTIES
 };
 
index e553ba1ed0c4a4740ea9775757b672c0925f7a45..a0efa95a4fb40a0fb96150f1b3bea82c9dc02f8f 100644 (file)
@@ -1413,7 +1413,7 @@ zend_module_entry litespeed_module_entry = {
     NULL,
     NULL,
     NULL,
-    NO_VERSION_YET,
+    PHP_VERSION,
     STANDARD_MODULE_PROPERTIES
 };