3

I am currently trying to install mod_wsgi 4.4.21 into Apache 2.4 for a Python 3.5 web server on CentOS 7.

Under "Configuring The Source Code" in the Quick Installation Guide, it says this:

On some Linux distributions, such as SUSE and CentOS, it will be necessary to use the "--with-apxs" option and specify either "/usr/sbin/apxs2-worker" or "/usr/sbin/apxs2-prefork".

As far as I can tell, those are supposed to come with the httpd-devel package. I have that installed already:

# 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

However I don't have apxs2-worker or apxs2-prefork in /usr/sbin:

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

However, I do have apxs in /usr/bin. Can I just use that, or is there something else I am missing?

1
  • At first glance, yes.; /usr/bin/apxs sounds like a correct location.
    – HBruijn
    Jan 9, 2016 at 0:18

1 Answer 1

2

For posterity, I ended up using /usr/bin/apxs and it seems to work fine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .