Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Memcache with PHP 7 version #2050

Closed
alwinaugustin opened this issue Mar 19, 2019 · 2 comments
Closed

Running Memcache with PHP 7 version #2050

alwinaugustin opened this issue Mar 19, 2019 · 2 comments
Labels

Comments

@alwinaugustin
Copy link

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

@stale
Copy link

stale bot commented Feb 2, 2020

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.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

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 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant