We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Opcache Error when using phalcon developer tools in mac osx

I followed the instructions to install phalcon developer tools in macosx.

When i enter the phalcon command, i have the following error.

Failed loading /usr/local/Cellar/php55/5.5.22/lib/php/extensions/no-debug-non-zts-20121212/opcache.so: dlopen(/usr/local/Cellar/php55/5.5.22/lib/php/extensions/no-debug-non-zts-20121212/opcache.so, 9): image not found PHP Warning: Module 'phalcon' already loaded in Unknown on line 0

Any advice appreciated.

edited Mar '15

It's trying to find the extension opcache in /usr/local/Cellar/php55/5.5.22/lib/php/extensions/no-debug-non-zts-20121212/ but it seems it can find it there. I think it's using the wrong PHP version.