dousi8559 2011-02-13 06:37
浏览 125
已采纳

PHP文件 - 下载而不是在浏览器中加载?

I have this file, index.php. I FTP'd it to my web server. When I go to the page mydomain.com/index.php my browser downloads the php file instead of loading the page.

The only code in the php file is <?php echo "hello world;" ?>.

Why isn't the page loading as intended?

  • 写回答

4条回答 默认 最新

  • dongzhiyong8577 2011-02-13 07:50
    关注

    If you have PHP installed on the server already, you should ensure that Apache recognizes it by configuring httpd.conf properly.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥15 MCNP里如何定义多个源?
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services