After reinstalling the system today, the PHP running environment was changed to WampServer. After debugging the running environment, I installed Empire CMS, but an error message appeared:
parse error: syntax error, unexpected $end in D:\Wamp\www\ecmsweb\e\install\index.php on line 831
In this case, I initially thought that there was a problem with the compressed package of the code itself. I have encountered a similar situation before, but when the same compressed package was installed and run on another computer, there would be no such
errors. After inspection, it was found that WampServer did not enable short tags. Therefore, as long as short_open_tag = On is modified in php.ini, restart WampServer, and the problem is
solved!
Recommended to study "Empire cms tutorial"
The above is the detailed content of Share Empire CMS prompts parse error syntax error solution. For more information, please follow other related articles on the PHP Chinese website!