dongque5529 2017-10-25 10:13
浏览 173
已采纳

Symfony 3:我无法安装ckeditor

When I follow this documentation to "Integrating IvoryCKEditorBundle to Create a WYSIWYG Editor" in my app, I get the following error:

[Symfony\Component\Debug\Exception\ClassNotFoundException] Attempted to load class "ZipArchive" from the global namespace.  Did you forget a "use" statement?

This happens at the step 4. I really have no idea about what could triggers this error. Due to my OS configuration? PHP Version? Symfony config? Etc?

  • 写回答

2条回答 默认 最新

  • doudou20145 2018-01-26 01:55
    关注

    please note that you can also change the php version, for 5.6 use sudo apt-get install php5.6-zip

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)
编辑
预览

报告相同问题?