Home  >  Article  >  Backend Development  >  安装thinkphp时出现这个是什么有关问题

安装thinkphp时出现这个是什么有关问题

WBOY
WBOYOriginal
2016-06-13 11:58:581359browse

安装thinkphp时出现这个是什么问题?


Warning: Unexpected character in input: '\' (ASCII=92) state=0 in F:\AppServ\myweb\app\ThinkPHP\ThinkPHP.php on line 94

Parse error: syntax error, unexpected T_STRING in F:\AppServ\myweb\app\ThinkPHP\ThinkPHP.php on line 94
------解决方案--------------------
安装了PHP 6吧? 把PHP降低到5+应该就可以了。
------解决方案--------------------
显然你的 php 版本低于 5.3,而 thinkphp 版本高于 3.1

thinkphp 3.2 使用了命名空间,必须要 php 5.3 以上支持

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn