Comments (4)
This is fixed in PR #39
from pecl-memcache.
FYI same issue with PHP 7.2.15 as well so reverted to commit 4a9e4ab which is fine with PHP 7.2.15
from pecl-memcache.
#37 seems to be the same issue. I am also experiencing the same error - too many arguments to function ‘mmc_prepare_key_ex’
.
from pecl-memcache.
Hello.
We have error on 7.3.
/bin/sh /usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/libtool --mode=compile cc -I/opt/cpanel/ea-php72/root/usr/include/php -I. -I/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72 -DPHP_ATOM_INC -I/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/include -I/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/main -I/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72 -I/opt/cpanel/ea-php72/root/usr/include/php -I/opt/cpanel/ea-php72/root/usr/include/php/main -I/opt/cpanel/ea-php72/root/usr/include/php/TSRM -I/opt/cpanel/ea-php72/root/usr/include/php/Zend -I/opt/cpanel/ea-php72/root/usr/include/php/ext -I/opt/cpanel/ea-php72/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/php7/memcache.c -o php7/memcache.lo
libtool: compile: cc -I/opt/cpanel/ea-php72/root/usr/include/php -I. -I/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72 -DPHP_ATOM_INC -I/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/include -I/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/main -I/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72 -I/opt/cpanel/ea-php72/root/usr/include/php -I/opt/cpanel/ea-php72/root/usr/include/php/main -I/opt/cpanel/ea-php72/root/usr/include/php/TSRM -I/opt/cpanel/ea-php72/root/usr/include/php/Zend -I/opt/cpanel/ea-php72/root/usr/include/php/ext -I/opt/cpanel/ea-php72/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/php7/memcache.c -fPIC -DPIC -o php7/.libs/memcache.o
/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/php7/memcache.c: In function 'php_mmc_store':
/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/php7/memcache.c:643:4: error: too many arguments to function 'mmc_prepare_key_e '
if (mmc_prepare_key_ex(ZSTR_VAL(key), ZSTR_LEN(key), request->key, &(request->key_len), MEMCACHE_G(key_prefix)) != MMC_OK) {
^
In file included from /usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/php7/php_memcache.h:34:0,
from /usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/php7/memcache.c:30:
/usr/local/src/pecl-memcache-NON_BLOCKING_IO_php72/php7/memcache_pool.h:399:5: note: declared here
int mmc_prepare_key_ex(const char *, unsigned int, char *, unsigned int *);
^
make: *** [php7/memcache.lo] Error 1
from pecl-memcache.
Related Issues (20)
- Memory Leak with 4.0.5.3 (PHP 7.4)
- get() can return invalid values after a PHP OOM HOT 1
- Using repcached for session slows down php module loading with version 8.2. (PHP 8.2)
- Creation of dynamic property Memcache::$connection is deprecated (in PHP 8.2)
- DLL available to download HOT 1
- Provide a getResultCode() to check if the most recent memcache operation had an error?
- Allow overriding the hardcoded retry timeout of 15 in php.ini for connect, as well as for connect/memcache_pconnect calls? HOT 5
- PHP 8 HOT 11
- php8 windows build HOT 4
- Session Redundancy with Failover doesn't work on PHP7 HOT 7
- Idea: Support alternate serializers such as igbinary, msgpack, etc for arrays/objects
- PECL install not receiving -D --with-zlib-dir=/path/ option
- Test 035 fails after update to PHP 8.1 HOT 1
- Why is 3.x beta?
- Tag 3.0.7
- 3.0.8 tests fail because connect.inc is missing
- Unable to compile on Freebsd / PHP 7.4
- v8.0 on php8.1 showing as 4.0.5.2 on phpinfo() HOT 2
- 4.0.5.3 and 8.0.1 missing on pecl HOT 3
- cpu high load with php8 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pecl-memcache.