Home >Backend Development >PHP Tutorial >安装PHP网站遇到一些有关问题汇总

安装PHP网站遇到一些有关问题汇总

WBOY
WBOYOriginal
2016-06-13 10:40:49888browse

安装PHP网站遇到一些问题汇总
问题1:安装出现问题--Parse error: syntax error, unexpected $end in XXX
解决:php.ini中修改short_open_tag为On,重启服务器

问题2:出现错误Field 'description' doesn't have a default value
解决:MySQL设置中去掉 Enable Strict Mode选项

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