您的位置:首页 > 编程语言 > PHP开发

安装zendServer 报错:Failed to access Web server. Please make sure that the Web server is ..的解决

2013-12-21 16:07 656 查看
原创 转载请注明出处

安装 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: