| Server IP : 23.254.227.96 / Your IP : 216.73.216.183 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/thread-self/root/usr/local/src/memcache-8.0/ |
Upload File : |
// $Id$
// vim:ft=javascript
ARG_ENABLE("memcache", "memcache support", "no");
if (PHP_MEMCACHE != "no") {
if (!PHP_ZLIB_SHARED || CHECK_LIB("zlib_a.lib", "memcache", PHP_MEMCACHE)) {
var dll = get_define('PHPDLL');
var old_conf_dir = configure_module_dirname;
if (dll.match(/^php[78]/) != null) {
configure_module_dirname = configure_module_dirname + "\\src";
} else if (dll.match(/^php5/) != null) {
ERROR("PHP 7.x required for pecl-php-memcache ver 4+. Use pecl-php-meachce ver 3.x for PHP 5.x.");
} else {
ERROR("Cannot determine PHP version from:'" + dll + "'");
}
EXTENSION("memcache", " \
memcache.c \
memcache_ascii_protocol.c \
memcache_binary_protocol.c \
memcache_consistent_hash.c \
memcache_pool.c \
memcache_queue.c \
memcache_session.c \
memcache_standard_hash.c");
configure_module_dirname = old_conf_dir;
AC_DEFINE('HAVE_MEMCACHE', 1, 'Have memcache support');
ADD_FLAG("CFLAGS_MEMCACHE", "/D HAVE_MEMCACHE_SESSION=1");
} else {
WARNING("memcache not enabled; libraries and headers not found");
}
}