HEX
Server: nginx/1.18.0
System: Linux iZj6c1ieg2jrpk1z5tzi19Z 6.3.9-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 21 22:18:40 EDT 2023 x86_64
User: www (1001)
PHP: 8.2.4
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.cytocare.cn/wp-content/plugins/woocommerce/vendor/maxmind-db/reader/ext/config.m4
PHP_ARG_WITH(maxminddb,
    [Whether to enable the MaxMind DB Reader extension],
    [  --with-maxminddb      Enable MaxMind DB Reader extension support])

PHP_ARG_ENABLE(maxminddb-debug, for MaxMind DB debug support,
    [ --enable-maxminddb-debug    Enable MaxMind DB debug support], no, no)

if test $PHP_MAXMINDDB != "no"; then

    AC_PATH_PROG(PKG_CONFIG, pkg-config, no)

    AC_MSG_CHECKING(for libmaxminddb)
    if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libmaxminddb; then
        dnl retrieve build options from pkg-config
        if $PKG_CONFIG libmaxminddb --atleast-version 1.0.0; then
            LIBMAXMINDDB_INC=`$PKG_CONFIG libmaxminddb --cflags`
            LIBMAXMINDDB_LIB=`$PKG_CONFIG libmaxminddb --libs`
            LIBMAXMINDDB_VER=`$PKG_CONFIG libmaxminddb --modversion`
            AC_MSG_RESULT(found version $LIBMAXMINDDB_VER)
        else
            AC_MSG_ERROR(system libmaxminddb must be upgraded to version >= 1.0.0)
        fi
        PHP_EVAL_LIBLINE($LIBMAXMINDDB_LIB, MAXMINDDB_SHARED_LIBADD)
        PHP_EVAL_INCLINE($LIBMAXMINDDB_INC)
    else
        AC_MSG_RESULT(pkg-config information missing)
        AC_MSG_WARN(will use libmaxmxinddb from compiler default path)

        PHP_CHECK_LIBRARY(maxminddb, MMDB_open)
        PHP_ADD_LIBRARY(maxminddb, 1, MAXMINDDB_SHARED_LIBADD)
    fi

    if test $PHP_MAXMINDDB_DEBUG != "no"; then
        CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Werror"
    fi

    PHP_SUBST(MAXMINDDB_SHARED_LIBADD)

    PHP_NEW_EXTENSION(maxminddb, maxminddb.c, $ext_shared)
fi