Cannot include memcache extension to Local Wordpress (OS X)

Issue Summary

Installed memcached service along with memcache extension to use on local site. Memcached service is running but including extension on <Local_dir>/<project_dir>/conf/php/php.ini.hbs does not seem to show up on page.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    This only happens on 1 Local site.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?


Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

I did the ff. for including the extension:
Install homebrew
Install php with homebrew
Install memcached with homebrew
Install libmemcached with homebrew
Install zlib with homebrew

I did the ff. next:
pecl download memcache
open memcache-x.x.x.x.tgz
cd memcache-x.x.x.x/memcache-x.x.x.x
./configure –with-zlib-dir=/usr/local/Cellar/zlib/1.2.11
sudo make install

This produces the file which I’m including on the php.ini.hbs file.
Restarting Local site does not show the extension on phpinfo page.

System Details

  • Which version of Local is being used?

  • What Operating System (OS) and OS version is being used?
    macOS Monterey

  • Attach the Local Log. See this Help Doc for instructions on how to do so: (6.3 KB)

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.