{{wikiTitle}}
PHP Fatal error: Namespace declaration报错如何解决
复制链接
编辑文档
PHP Fatal error: Namespace declaration
swoole启动报错如下:
PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /www/wwwroot/mer.crmeb.net/think on line 4
解决方法,查看是否存在php的加密扩展
一、在宝塔查看,这里是否安装,如果安装了,卸载即可

二、在命令行查看,php -m 是否存在这个,有的话卸载。
评论({{cateWiki.comment_num}})
最新
最早
{{cateWiki.page_view_num}}人看过该文档
评论(0)
最新
最早
1042人看过
登录/注册
即可发表评论
{{item.user ? item.user.nickname : ''}}
(自评)
{{item.content}}
搜索结果
为您找到{{wikiCount}}条结果
{{item.page_view_num}}
{{item.like ? item.like.like_num : 0}}
{{item.comment ? item.comment.comment_num : 0}}
位置:
{{path.name}}
{{(i+1) == getCataloguePathData(item.catalogue).length ? '':'/'}}
