suPHP,Ubuntu,文件在浏览器中下载

时间:2022-10-05 21:22:38

Im running the following setup: Ubuntu 12.04 LTS 64-bit Zpanelcp (zpanelcp.com, which seems to be down for the moment...) Apache2 PHP5

我正在运行以下设置:Ubuntu 12.04 LTS 64位Zpanelcp(zpanelcp.com,目前似乎已关闭...)Apache2 PHP5

Trying to add suPHP to my setup. After following this: http://www.debiantutorials.com/installing-suphp/ (I know its for Debian, but seems to work). After restarting Apache and reloading a site on the server in the browser it starts to download a file with content from my site. This instead of reloading the site.

试图将suPHP添加到我的设置中。在此之后:http://www.debiantutorials.com/installing-suphp/(我知道它适用于Debian,但似乎有效)。重新启动Apache并在浏览器中重新加载服务器上的站点后,它开始从我的站点下载包含内容的文件。这不是重新加载网站。

What am I doing wrong? How do I fix it?

我究竟做错了什么?我如何解决它?

1 个解决方案

#1


0  

I believe you have to turn on the php5 module

我相信你必须打开php5模块

a2enmod php5

#1


0  

I believe you have to turn on the php5 module

我相信你必须打开php5模块

a2enmod php5