欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

安装zendServer 报错:Failed to access Web server. Please make

程序员文章站 2022-05-12 09:41:14
...

安装 zendServer 报错: Failed to access Web server. Please make sure that the Web server is running and listening to the correct port 查看错误日志: cat zend/apache2/logs/error_log 发现报错: [Sat Dec 21 14:40:47 2013] [warn] Init: Session Ca



安装 zendServer 报错:

Failed to access Web server. Please make sure that the Web server is running and listening to the correct port


查看错误日志:

cat zend/apache2/logs/error_log


发现报错:

[Sat Dec 21 14:40:47 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
dyld: lazy symbol binding failed: Symbol not found: _xsltInitGlobals
Referenced from: /usr/lib/libexslt.0.dylib
Expected in: /usr/local/zend/lib/libxslt.1.dylib

dyld: Symbol not found: _xsltInitGlobals
Referenced from: /usr/lib/libexslt.0.dylib
Expected in: /usr/local/zend/lib/libxslt.1.dylib

原因: 原来是缺少 /usr/lib/libxslt.1.dylib 这个包


解决:

输入以下命令:

sudo cp /usr/lib/libxslt.1.dylib /usr/local/zend/lib/.

重启:

sudo /usr/local/zend/bin/zendctl.sh restart