File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ phpize_check_configm4()
59
59
phpize_get_api_numbers ()
60
60
{
61
61
# extracting API NOs:
62
+ PHP_MINOR_VERSION=` grep ' #define PHP_MINOR_VERSION' $includedir /main/php_version.h| $SED ' s/#define PHP_MINOR_VERSION //' `
63
+ PHP_MAJOR_VERSION=` grep ' #define PHP_MAJOR_VERSION' $includedir /main/php_version.h| $SED ' s/#define PHP_MAJOR_VERSION//' `
62
64
PHP_API_VERSION=` grep ' #define PHP_API_VERSION' $includedir /main/php.h| $SED ' s/#define PHP_API_VERSION//' `
63
65
ZEND_MODULE_API_NO=` grep ' #define ZEND_MODULE_API_NO' $includedir /Zend/zend_modules.h| $SED ' s/#define ZEND_MODULE_API_NO//' `
64
66
ZEND_EXTENSION_API_NO=` grep ' #define ZEND_EXTENSION_API_NO' $includedir /Zend/zend_extensions.h| $SED ' s/#define ZEND_EXTENSION_API_NO//' `
@@ -68,6 +70,7 @@ phpize_print_api_numbers()
68
70
{
69
71
phpize_get_api_numbers
70
72
echo " Configuring for:"
73
+ echo " PHP Version: ${PHP_MAJOR_VERSION} .${PHP_MINOR_VERSION} "
71
74
echo " PHP Api Version: " $PHP_API_VERSION
72
75
echo " Zend Module Api No: " $ZEND_MODULE_API_NO
73
76
echo " Zend Extension Api No: " $ZEND_EXTENSION_API_NO
You can’t perform that action at this time.
0 commit comments