If using a Linux system, mod_wsgi can be installed direct from source code.
For descriptions of general problems that may be encountered during installation on Linux, see the documentation on “Installation Issues”.
If however you prefer to use packages specific to your Linux distribution, details of known packages are listed given below.
Details on Debian packages can be found at:
Thanks to Bernd Zeimetz for preparing and putting together this distribution.
The IUS Community Project publishes RPMs for mod_wsgi on RedHat and Centos.
Official Fedora packages seem to be hopelessly out of date and are actually for a version of mod_wsgi which isn’t recommended be used anymore.
Only known URL is:
For an alternate set of more up to date, but unofficial, binary packages for RPM based systems, see:
These rely on using the standard version of Python installed on those systems.
SUSE Linux Packages
Details on SUSE Linux packages can be found at:
Thanks to Peter Poeml for preparing and putting together this distribution.
Restarting Apache Service
When using a prepackaged Apache on a Linux system, they will have generally integrated starting and stopping of Apache into the operating system service management features. When this is the case, the ‘apachectl’ script may not work as originally intended by the Apache authors and it is instead necessary to always use the operating system specific mechanism to start, stop or restart Apache.
An example of an error which may occur when trying to restart Apache using ‘apachectl’ on such a system is:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Because the exact mechanism used to manage services can differ between Linux operating system variants, you should consult the documentation for the prepackage version of Apache, or that for the operating system itself.
One approach used requires that the ‘init.d’ script be used directly.
Another is to use an intermediary management script, which in turns executes the appropriate ‘init.d’ script: