当前位置: 主页 > 日志 > Django >

Compile mod_python with Python2.5

1) Find following path.

 
/usr/sbin/apxs (if not exists, instll httpd-devel firstly, try to find it with "find / -name apxs" )
 
/usr/local/bin/python2.5 (maybe your is different)
 
2) Download modpython from http://archive.apache.org/dist/httpd/modpython/, then compile it.
 
e.g.
 
wget http://archive.apache.org/dist/httpd/modpython/mod_python-3.3.1.tgz
tar -zxvf mod_python-3.3.1.tgz
cd mod_python-3.3.1
./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/local/bin/python2.5
make
make install
 
参考:http://www.4ucode.com/Study/Topic/680649

[日志信息]

该日志于 2011-08-13 01:41 由 redice 发表在 redice's Blog ,你除了可以发表评论外,还可以转载 “Compile mod_python with Python2.5” 日志到你的网站或博客,但是请保留源地址及作者信息,谢谢!!    (尊重他人劳动,你我共同努力)
   
验证(必填):   点击我更换验证码

redice's Blog  is powered by DedeCms |  Theme by Monkeii.Lee |  网站地图 |  本服务器由西安鲲之鹏网络信息技术有限公司友情提供

返回顶部