本文介绍了通过Brew的Mac OS X PHP56 ApcU-未找到符号:_zend_signal_globals的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试通过brew安装APCu时出现错误
无论我如何安装APCu,都会发生这种情况
brew install php56-apcu
brew install --build-from-source php56-apcu
brew install php56-apcu --enable-apc-bc
APC也无法出现在phpinfo
中.
Opcache安装良好,php-intl
/usr/bin/php
中的可执行文件必定是El-Capitan上的Apple发行版php(可以肯定的是先前的版本,OSX就是这样一个移动的目标). 尝试将/usr/local/bin添加为路径中的顶级狗(在文件.bash_profile
中),然后在新实例化的终端窗口中重试.
When trying to install APCu via brew I get the error
This occurs no matter how I install APCu
brew install php56-apcu
brew install --build-from-source php56-apcu
brew install php56-apcu --enable-apc-bc
APC fails to appear in phpinfo
too.
Opcache is install fine, as is php-intl
解决方案
the executable in /usr/bin/php
would necessarily be the apple distribution php on El-Capitan (cant be certain about previous versions, OSX is such a moving target).
Try to add /usr/local/bin as top dog in your path (in file .bash_profile
) and retry in a newly instantiated terminal window.
这篇关于通过Brew的Mac OS X PHP56 ApcU-未找到符号:_zend_signal_globals的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!