Heim  >  Artikel  >  Backend-Entwicklung  >  打开php文件直接上载了

打开php文件直接上载了

WBOY
WBOYOriginal
2016-06-13 10:38:07803Durchsuche

打开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
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn