Graham Dumpleton
Graham Dumpleton
What do you mean by "with no mod_wsgi"? The only way if not using mod_wsgi, to host Python code with Apache, would be as CGI scripts. So am a bit...
When you run `mod_wsgi-express` it is still using Apache. Now I don't remember you showing the error: ``` (2)No such file or directory: mod_wsgi (pid=5055): Unable to stat Python home...
Since using daemon mode, to avoid any issues with Python being initialized in Apache child worker processes, ensure you are setting: ``` WSGIRestrictEmbedded On ``` at global scope outside of...
You would have to have pip installed gunicorn into the virtual environment. Doesn't look like you did and are using system package for it.
I don't usually recommend it, but try the `activate_this` method described in https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html for setting up a virtual environment.
The doc also talks about using `site.addsitedir()` to do it as well.
Really cannot see why adding `WSGIApplicationGroup` would make a difference. :-(
Your Python installation must have shared libraries enabled. See: * https://modwsgi.readthedocs.io/en/master/user-guides/installation-issues.html#mixing-32-bit-and-64-bit-packages Read: * http://blog.dscpl.com.au/2015/06/installing-custom-python-version-into.html where it talks more about this issue and how to go about installing Python from source...
Make sure you read: * https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html You should not be referencing `dist-packages` or `site-packages` when telling mod_wsgi where the Python virtual environment is. You should be telling it where the...
Impossible to give any advice without seeing what mod_wsgi configuration you used and details about where Django was installed to, plus where your project code is. If you are using...