summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/php
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2020-10-08 19:19:31 +0300
committerAndrei Belov <defan@nginx.com>2020-10-08 19:19:31 +0300
commitd586ac9fdc4a86c142b06a75dde4cdacad5b52f6 (patch)
tree9817282396f9d2cf5333050e4b5bf807d3617e40 /auto/modules/php
parent9be35d9b7418c041e5177f273c20f0fd2d3f00ad (diff)
parentad516735a65fe109773b60e26214a071411f1734 (diff)
downloadunit-d586ac9fdc4a86c142b06a75dde4cdacad5b52f6.tar.gz
unit-d586ac9fdc4a86c142b06a75dde4cdacad5b52f6.tar.bz2
Merged with the default branch.1.20.0-1
Diffstat (limited to 'auto/modules/php')
-rw-r--r--auto/modules/php3
1 files changed, 3 insertions, 0 deletions
diff --git a/auto/modules/php b/auto/modules/php
index 75d60242..41eeb1c3 100644
--- a/auto/modules/php
+++ b/auto/modules/php
@@ -74,6 +74,8 @@ if /bin/sh -c "${NXT_PHP_CONFIG} --version" >> $NXT_AUTOCONF_ERR 2>&1; then
$echo " found"
NXT_PHP_VERSION="`${NXT_PHP_CONFIG} --version`"
+ NXT_PHP_EXT_DIR="`${NXT_PHP_CONFIG} --extension-dir`"
+
$echo " + PHP SAPI: [`${NXT_PHP_CONFIG} --php-sapis`]"
NXT_PHP_MAJOR_VERSION=${NXT_PHP_VERSION%%.*}
@@ -213,6 +215,7 @@ if grep ^$NXT_PHP_MODULE: $NXT_MAKEFILE 2>&1 > /dev/null; then
exit 1;
fi
+
$echo " + PHP module: ${NXT_PHP_MODULE}.unit.so"
. auto/cc/deps