0
我正在使用PHP-Phantomjs http://jonnnnyw.github.io/php-phantomjs/来捕获我网站的内容,我使用的工具Laravel v5.0和PHP-Phantomjs v4.0它正在完善我的本地MAC机器,但问题是。如何在共享托管服务器上配置/启用php-phantomjs
我已经手动上传文件,因为我必须始终对服务器进行操作,并且文件没有差异,但是当我尝试生成映像时出现以下错误。
FatalErrorException in ContainerBuilder.php line 419:
syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH)
我觉得phantomJS EXEC文件我已经上传不兼容,或者是有别的东西,我需要做的,使GoDaddy的服务器上phantomJS?
可能重复的[语法错误,finally块无法识别](http://stackoverflow.com/questions/29843233/syntax-error-finally-block-is-not-recognized) – Vaviloff