mod-wsgiredhatpython-3.6apache2.2

Apache 2.2/Redhat 2.6 with mod_wsgi


I'm having trouble configuring mod_wsgi with my current set up.

Redhat 2.6.32

Installations setup as non-root user:

I seem to have successfully installed mod_wsgi into /apache/modules.

Problems:

Can anyone explain how I can use mod_wsgi with my current setup?


Solution

  • Your libpython3.6m.so.1.0 is not in any of apache's library paths.

    You can symlink it to one of the lib directories in apache's library path, or you can add the directory where your libpython3.6m.so.1.0 resides to apache's library path.

    Check this question out for help with apache paths: https://serverfault.com/questions/151328/setting-apache2-path-environment-variable