You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run laradock with PHP version 7 and with MemCache (not MemCached) support. There is a repository here to add old Memcache support to PHP 7 https://github.com/websupport-sk/pecl-memcache. I am using the following code in ph-fpm Dockerfile.
ARG INSTALL_MEMCACHE=true
RUN if [ ${INSTALL_MEMCACHE} = true ]; then \
# Install the php memcached extension
curl -L -o /tmp/memcache.tar.gz "https://github.com/websupport-sk/pecl-memcache/archive/NON_BLOCKING_IO_php7.tar.gz"; \
mkdir -p memcache \
&& tar -C memcache -zxvf /tmp/memcache.tar.gz --strip 1 \
&& ( \
cd memcache \
&& phpize \
&& ./configure \
&& make -j$(nproc) \
&& make install \
) \
&& docker-php-ext-enable memcache \
;fi
But this is not seems to be working and I am getting error Class Memcache not found
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
I am trying to run laradock with PHP version 7 and with MemCache (not MemCached) support. There is a repository here to add old Memcache support to PHP 7 https://github.com/websupport-sk/pecl-memcache. I am using the following code in
ph-fpm
Dockerfile.But this is not seems to be working and I am getting error
Class Memcache not found
The text was updated successfully, but these errors were encountered: