Home > Backend Development > PHP Tutorial > 打开php文件直接上载了

打开php文件直接上载了

WBOY
Release: 2016-06-13 10:38:07
Original
854 people have browsed it

打开php文件直接下载了
初学PHP,写了很简单的代码,可是浏览器打开时把PHP文件直接下载了,估计是apache环境有问题,该怎么搞大家帮忙看下

PHP code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->    
Copy after login
Name:

PHP code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->            ';            echo 'isempty($name)'.empty($name).'
'; echo 'isset($null)'.isset($isnull).'
'; echo 'isempty($null)'.empty($isnull).'
'; ?>
Copy after login


------解决方案--------------------
http://www.apachefriends.org/zh_cn/xampp-linux.html
Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template