Skip to content

Commit 5b36c9f

Browse files
committed
Use PHP_VERSION for zend modules
Closes #4147
1 parent 0741494 commit 5b36c9f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sapi/apache2handler/php_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,6 @@ zend_module_entry php_apache_module = {
559559
NULL,
560560
NULL,
561561
PHP_MINFO(apache),
562-
NULL,
562+
PHP_VERSION,
563563
STANDARD_MODULE_PROPERTIES
564564
};

sapi/cgi/cgi_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1730,7 +1730,7 @@ static zend_module_entry cgi_module_entry = {
17301730
NULL,
17311731
NULL,
17321732
PHP_MINFO(cgi),
1733-
NO_VERSION_YET,
1733+
PHP_VERSION,
17341734
STANDARD_MODULE_PROPERTIES
17351735
};
17361736

sapi/fpm/fpm/fpm_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ static zend_module_entry cgi_module_entry = {
15281528
NULL,
15291529
NULL,
15301530
PHP_MINFO(cgi),
1531-
NO_VERSION_YET,
1531+
PHP_VERSION,
15321532
STANDARD_MODULE_PROPERTIES
15331533
};
15341534

sapi/litespeed/lsapi_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ zend_module_entry litespeed_module_entry = {
14131413
NULL,
14141414
NULL,
14151415
NULL,
1416-
NO_VERSION_YET,
1416+
PHP_VERSION,
14171417
STANDARD_MODULE_PROPERTIES
14181418
};
14191419

0 commit comments

Comments
 (0)