apache doesn#39;t work after upgrade of macOs Sierra(升级MacOS Sierra后,Apache无法工作)
问题描述
您好,在更新MacOS Sierra之后,我正在尝试重新启动Apache,但我收到此错误>;
dyld: Symbol not found: _apr_crypto_block_cleanup Referenced from:
/usr/local/Cellar/httpd24/2.4.25/bin/httpd Expected in:
/usr/local/opt/apr-util/libexec/lib/libaprutil-1.0.dylib in
/usr/local/Cellar/httpd24/2.4.25/bin/httpd /usr/local/bin/apachectl:
line 79: 94187 Abort trap: 6 $HTTPD -k $ARGV
我尝试重新安装Apache并重新安装php56和php70,但没有任何进展。请问有没有人知道该怎么做?
推荐答案
我自己也遇到了同样的问题,看起来像是APR-UTIL程序包有问题。
要在我使用homebrew时解决此问题,我只需执行brew reinstall apr-util
操作,这解决了我的问题。
如果您使用的是其他包管理器,请尝试使用其正确的语法重新安装apr-util。
这篇关于升级MacOS Sierra后,Apache无法工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!