搜索
您的当前位置:首页正文

安装zendServer报错:FailedtoaccessWebserver.Pleasemake

2020-11-09 来源:星星旅游

安装 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

Top