Graham Dumpleton
Graham Dumpleton
Not a waste of time as I have been sitting on needing to make some mod_wsgi changes for a while. Wasn't the best day for me to decide to do...
For the first case, where have you got your Python distribution from? It doesn't seem to be a standard distribution from Homebrew or Python Software Foundation since they would not...
So long as you have `/usr/local/bin` before macOS paths for Xcode stuff, then `/usr/local/bin/apxs` should be found in your path first and use that. If `PATH` doesn't have `/usr/local/bin` first...
Make sure `/usr/local/bin` is at the start of `PATH`. In other words, is set as: ``` PATH="/usr/local/bin:$PATH" ``` and not: ``` PATH=$PATH:/usr/local/bin ``` That way `python3` from `/usr/local/bin` will be...
Closing as no further followup and so assumed was resolved.
You have added a few overlapping different things to configure the virtual environment which we need to fix first. Instead of: ``` WSGIDaemonProcess capacity_management python-home=/home/ec2-user/capacity_management/myenv python-path=/home/ec2-user/capacity_management/myenv/lib64/python3.7/site-packages ``` use: ``` WSGIDaemonProcess...
Yes that is the system package for mod_wsgi and given that it is for Python 3.4, if there were a separate `LoadModule` directive somewhere in the Apache configuration which was...
Yes, because although the mod_wsgi dynamically loaded module file is loaded from the Apache parent process, which runs as `root` and thus can always be loaded, the call into the...
It all comes down to whether or not they are loading into Apache or not. Find the root directory for the Apache configuration and run in that directory: ``` grep...
You are not in the system Apache configuration directory. You want the directory containing the config files where you have been adding your customisations for Apache. If it is `/etc/apache2`...