如果缺lessapxs2,如何在CentOS 7上的Apache for python 3.5中安装mod_wsgi?

我目前正尝试在CentOS 7上将mod_wsgi 4.4.21安装到Apache 2.4的Python 3.5 web服务器上。

在“ 快速安装指南 ”中的“configuration源代码”中,它表示:

在某些Linux发行版(如SUSE和CentOS)上,必须使用“–with-apxs”选项并指定“/ usr / sbin / apxs2-worker”或“/ usr / sbin / apxs2-prefork” 。

据我所知,这些应该是与httpd-devel包。 我已经安装了:

# 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 

但是我在/usr/sbin没有apxs2-workerapxs2-prefork

 # ls /usr/sbin/apxs* ls: cannot access /usr/sbin/apxs*: No such file or directory 

但是,我确实在/usr/binapxs 。 我可以使用那个,还是有什么我失踪?

对于后人,我最终使用/usr/bin/apxs ,它似乎工作正常。