Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
seven branch doesn't work with PHP7RC5 #137
I'm trying to make apcu work with PHP7RC5, but I'm not able to.
I do the following:
All tests are failing, here the first lines of the output:
Nevertheless, in the modules/ folder I find apc.la, apc.so, apcu.la and apcu.so.
Adding the following to my php.ini:
Then I test it on the commandline, and I get:
If I switch to load apc.so in php.ini, then I get this:
and "Call to undefined function apc_store()..."
Can you or someone tell me how I can install apcu and get the "old backwards-compatible apc_* functions" ?
Many thanks in advance!
To use the new separate backward compatibility extension, you must load
Thank you very much, if I load both extensions it works!
But I just saw that I had a mistake in half of the config lines, it of cause has to be apc.* and NOT apu.*
Thanks for your work and fast help!
But it's still not working.
`Cannot load Zend OPcache - it was already loaded
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/apc.so' - /usr/lib/php/20151012/apc.so: undefined symbol: zif_apcu_store in Unknown on line 0
well, @krakjoe's solution is working for me, but I have:
FROM php:7.1-apache-jessie # Install php modules provided by PECL RUN pecl install \ apcu \ apcu_bc-beta # Enable all installed modules RUN docker-php-ext-enable \ apcu # Manually enable apc (it's beta version) # https://github.com/krakjoe/apcu/issues/137#issuecomment-150760383 RUN echo "extension=apc.so \n"\ "apc.enabled=1 \n"\ "apc.shm_size=256M \n"\ "apc.ttl=7200 \n"\ "apc.enable_cli=1 \n"\ "apc.gc_ttl=3600 \n"\ "apc.entries_hint=4096 \n"\ "apc.slam_defense=1 \n"\ "apc.serializer=php \n" >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini
Hi @krakjoe how do you get apc.so on PHP7?
I have 7.0.26 on apache under Centos 7, I've succeded installing apcu, but this does not includes apc.so and I have an app wich is failing because of absence of apc.so
I would really appreciate if someone can guide me to get apc.so