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

时间:2021-12-17 00:23:22

原创 转载请注明出处


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