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

WBOY
Release: 2016-06-13 11:50:02
Original
1009 people have browsed it

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干嘛呢?
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!