0

我的网站在 python 2.4.3、django 1.3、apache 2.3 和 centos5 上运行。

我想为我的网站使用 google mod_pagespeed。

在维基页面中它说

“要在 CentOS 5.4 上构建,你必须安装 Python 2.6。你不需要替换系统提供的 Python 2.4——你只需要让“which python”指向 python 2.6”

维基链接

这是什么意思?

4

1 回答 1

1

如果/当您从源代码构建 mod_pagesepeed 时,您只需要在路径中包含 python 2.6。当您运行服务器时,它不需要在路径中。

mod_pagespeed 在运行时不使用 Python。它只在构建时使用它。

如果您使用的是 CentOS,您也可以从http://code.google.com/speed/page-speed/download.html下载二进制发行版

于 2012-01-10T03:43:53.240 回答