From 5b36c9fef6a03246765d10ea77ad6a68d2843cb6 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 19 May 2019 17:18:29 +0200 Subject: [PATCH] Use PHP_VERSION for zend modules Closes #4147 --- sapi/apache2handler/php_functions.c | 2 +- sapi/cgi/cgi_main.c | 2 +- sapi/fpm/fpm/fpm_main.c | 2 +- sapi/litespeed/lsapi_main.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c index ba2400f6a0..c82b93f965 100644 --- a/sapi/apache2handler/php_functions.c +++ b/sapi/apache2handler/php_functions.c @@ -559,6 +559,6 @@ zend_module_entry php_apache_module = { NULL, NULL, PHP_MINFO(apache), - NULL, + PHP_VERSION, STANDARD_MODULE_PROPERTIES }; diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 14dccbde1e..a716b7cf3c 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1730,7 +1730,7 @@ static zend_module_entry cgi_module_entry = { NULL, NULL, PHP_MINFO(cgi), - NO_VERSION_YET, + PHP_VERSION, STANDARD_MODULE_PROPERTIES }; diff --git a/sapi/fpm/fpm/fpm_main.c b/sapi/fpm/fpm/fpm_main.c index dd6671e102..9916b8bf7c 100644 --- a/sapi/fpm/fpm/fpm_main.c +++ b/sapi/fpm/fpm/fpm_main.c @@ -1528,7 +1528,7 @@ static zend_module_entry cgi_module_entry = { NULL, NULL, PHP_MINFO(cgi), - NO_VERSION_YET, + PHP_VERSION, STANDARD_MODULE_PROPERTIES }; diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c index e553ba1ed0..a0efa95a4f 100644 --- a/sapi/litespeed/lsapi_main.c +++ b/sapi/litespeed/lsapi_main.c @@ -1413,7 +1413,7 @@ zend_module_entry litespeed_module_entry = { NULL, NULL, NULL, - NO_VERSION_YET, + PHP_VERSION, STANDARD_MODULE_PROPERTIES }; -- 2.40.0