Comments (6)
For your information : igbinary/igbinary#24
This fix seems simpler / better than the one propose in #21
from apcu.
Looking at here https://github.com/igbinary/igbinary/blob/master/config.m4 it wants apc/apc_serializer.h . Clear that the folder can be renamed from apcu to apc, but i'd say that's not the right way to do. Doesn't it look so that one should touch igbinary ext for compat? Maybe explicit options like --with-apc-path or --with-apcu-path which should be mutually exclusive. Just wanted to test together with igbinary but not sure how to do it right.
from apcu.
See #25
With this change (restore previous ABI) igbinary will work out of the box (using the bundled apc_serializer.h or apc one, or apcu one).
Of course a minor change to check ext/apcu folder is a cleaner solution (for the future).
As apc/apcu can't be both installed, so checking sequentially each folder in the config.m4 file seems ok (see igbinary PR, which need to be improved if this PR is accepted)
from apcu.
Actually the both can be installed but not loaded, so the headers of both might be laying around in the include path. That's good for apcu, but not apc users :) I think some WTFs from APC+igbinary users are to expect.
from apcu.
What would be the problem ? As far as the ABI is the same ?
from apcu.
Well, if user has both apc and apcu and compiles igbinary then hoping for apc but seeing apcu in the phpinfo(). For that reason i'd rather force user to choose one instead of doing it silently. With the same ABI it'd of course work, or at least it'll load together.
from apcu.
Related Issues (20)
- Run tests with debug, valgrind, parallelism in GitHub actions
- Idea: Add `apcu_fetch_field(string $key, int|string|array $field, bool $force = false): [int $status, mixed $value]`
- Add a way to configure the fallback serializer if `apc.serializer=default` encounters an object
- Unnecessary casts to double for nhits, num_misses, mem_size, seg_size, avail_mem in helper methods
- Add optional parameters/ini settings to allow early eviction for added keys for apcu_store, apcu_add, etc?
- Idea: Avoid fragmentation/cache clears internally
- fetching an acpu_variable leads to "false" - although data is there
- Does too much fragment matter?
- windows build for php 8.2 on pecl package HOT 2
- Missing Windows DLL file HOT 13
- Could OOM Killer cause APCU deadlock ? HOT 1
- Valgrind Use of uninitialised value of size 8 in php_var_unserialize_internal() via php_apc_unserializer() HOT 2
- start_time in apcu_cache_info() HOT 2
- Test tests/typed_prop.phpt fails on PHP 8.3 HOT 1
- Enable igbinary as serializer Cause PHP 8.2 exited on signal 4 HOT 1
- segmentation fault when calling phpinfo() in ZTS builds HOT 2
- Unable to install on Mac M2 HOT 2
- compliation error on RedHat 8.2: zend_signal.h:46:2: error: unknown type name ‘siginfo_t’ HOT 4
- DLL missing HOT 2
- Create new release HOT 4
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 apcu.