Attached patch shows the version of the APC module on the reports page (as link) and additionally shows a warning if the apc module isn't loaded in PHP.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1526740-requirements.patch | 1.09 KB | cafuego |
| apc-requirements.patch | 1.11 KB | cafuego |
Comments
Comment #1
cafuego commentedFor the record, this same patch also applies cleanly to 7.x-1.x.
Comment #2
cafuego commented.. or rather, it would if I hadn't broken it before making the patch and then fixed it afterward :-P
Comment #3
bfroehle commentedLooks good, I'll commit this soon.
Comment #4
bfroehle commentedIs there are reason to have this check at install or update time (instead of just runtime)?
Comment #5
cafuego commented[edit] My previous comment made no sense :-)
Yeah, I think that running only during runtime is probably a much better idea. No need to break installation just because a non-essential php extension isn't present. We do then need to make certain that no APC functions are called without checking that the extension is there.