Home  >  Article  >  Backend Development  >  Linux 下执行php脚本,该怎么处理

Linux 下执行php脚本,该怎么处理

WBOY
WBOYOriginal
2016-06-13 11:50:021010browse

Linux 下执行php脚本
php -q

总是出现
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


 - Offline





 




        

 
        

         
                
        
        

        Linux 下执行php脚本,该怎么处理
        

        


                


        

                


                This site is temporarily unavailable.
 Please notify the System Administrator             


                2               




------解决方案--------------------
脚本执行是不能解析html代码的,你这个需要通过服务器运行,比如在apache,nginx下面去运行php
------解决方案--------------------
没记错的话有个选项是可以设置不输出结果的自己查找一下,不过如楼上说的,你要这些HTML干嘛呢?
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