install apcu for php7
Apr 122016If you are familiar with Docker, this is what I use:
# install apcu for php7
RUN cd /opt && git clone https://github.com/krakjoe/apcu && \
cd apcu && \
phpize && \
./configure --enable-apcu && \
make && make install && \
echo "extension=apcu.so" > /usr/local/etc/php/conf.d/ext-apcu.ini
RUN cd /opt && git clone https://github.com/krakjoe/apcu-bc && \
cd apcu-bc && \
phpize && \
./configure --enable-apc && \
make && make install && \
echo "\nextension=apc.so" >> /usr/local/etc/php/conf.d/ext-apcu.ini