我目前正在尝试将mod_wsgi 4.4.21安装到Apache2.4中,用于CentOS 7上的Python3.5Web服务器。
在快速安装指南中的“配置源代码”中,它指出:
在某些Linux发行版上,例如SUSE和CentOS,需要使用“-with”选项,并指定"/usr/sbin/apxs2-worker“或"/usr/sbin/apxs2-prefork”。
据我所知,这些应该伴随着httpd包。我已经安装了:
# rpm -qa | grep httpd
httpd-tools-2.4.6-40.el7.centos.x86_64
httpd-manual-2.4.6-40.el7.centos.noarch
httpd-2.4.6-40.el7.centos.x86_64
httpd-devel-2.4.6-40.el7.centos.x86_64然而,我在apxs2-worker或apxs2-prefork中没有/usr/sbin:
# ls /usr/sbin/apxs*
ls: cannot access /usr/sbin/apxs*: No such file or directory然而,我确实在apxs中使用了/usr/bin。我能用一下吗,还是我还缺了什么?
发布于 2016-01-13 20:18:31
对于后人来说,我最终使用了/usr/bin/apxs,而且它似乎运行良好。
https://serverfault.com/questions/747439
复制相似问题