Maison  >  Article  >  développement back-end  >  打开php文件直接上载了

打开php文件直接上载了

WBOY
WBOYoriginal
2016-06-13 10:38:07800parcourir

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

PHP code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->    
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).'
'; ?>


------解决方案--------------------
http://www.apachefriends.org/zh_cn/xampp-linux.html
Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn