Home > php教程 > php手册 > phpinfo什么也不显示 不执行的原因及解决办法

phpinfo什么也不显示 不执行的原因及解决办法

WBOY
Release: 2016-06-13 09:37:45
Original
1456 people have browsed it

  刚刚用XAMPP配置好PHP开发环境,用一个来测试环境是否正常,但运行后页面是空白的,什么也没,连错误提示也没,这可怎么办啊?无法执行php语句吗?后来改用测试了下,发现是正常的,这下明白了,肯定是php没有打开缩写形式导致的!解决方法:

  请打开php.ini文件,找到“short_open_tag”,将 short_open_tag = Off 这行注释掉,再打开 ;short_open_tag = On 就可以了!记得要重启apache,这样

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template