我试过了,但对我没用。
CentOS 6.6上的Apache 2.4:
第1步:
cd /etc/yum.repos.d/
wget http://repos.fedorapeople.org/repos/jkaluza/httpd24/epel-httpd24.repo
第2步:
yum install httpd24.x86_64
第3步:
$ /opt/rh/httpd24/root/usr/sbin/httpd -version
Server version: Apache/2.4.6 (Red Hat)
Server built: Sep 25 2013 05:25:46
NOTE: config files are in: /opt/rh/httpd24/root/etc/httpd
$ ls
conf conf.d conf.modules.d logs modules run
EDIT: in case you want to switch off Apache 2.2
$ chkconfig httpd off
$ chkconfig --list | grep httpd
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
httpd24-httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
EDIT 2: http://wiki.apache.org/httpd/PHP-FPM
yum install php-fpm
/etc/init.d/php-fpm start
有没有人知道解决方案,请告诉我。
答案 0 :(得分:0)
最好是自己使用CentOS 6.6系统上的Apache源代码构建它。
编译和安装Apache 2.4:
http://httpd.apache.org/docs/current/install.html
在构建期间记下配置行,以便确保它包含您想要的所有模块(如mod_ssl ... etc ..)。有关此configure
$ CC="pgcc" CFLAGS="-O2" \
./configure --prefix=/sw/pkg/apache \
--enable-ldap=shared \
--enable-lua=shared
行可用内容的详细信息
handle = Entrez.esearch(db="pubmed", term = "" )
result = Entrez.read(handle)
handle.close()
ids = result['IdList']
print ids
#for each ids go through it and pull the summary
for uid in ids:
handle2 = Entrez.esummary(db="pubmed", id=uid, retmode= "xml")
result2 = Entrez.read(handle2)
handle2.close()
如果您需要自己的RPM,请使用自己的自定义项创建SPEC文件。
答案 1 :(得分:-1)