Have you looked through the online documentation, including:
https://code.google.com/p/modwsgi/wiki/InstallationInstructions
<https://code.google.com/p/modwsgi/wiki/InstallationInstructions>
So in short, uninstall your existing mod_wsgi, then follow the instructions
there for building and installing from source code.
If you were previously using system mod_wsgi packages, then you will need to
add to the Apache configuration the base configuration that loads the mod_wsgi
module as previously the configuration for that would have been part of the
installed system package.
In most cases any other existing configuration should work the same.
The alternative to using the old configure/make/make install method is to use
mod_wsgi-express but first pip installing it and then running:
sudo mod_wsgi-express install-module
That will copy the compiled module into the Apache modules directory, then edit
Apache configuration to load module. The install-module command will give you
the lines you need to add to the Apache configuration file.
So have a look through that and when get to a specific problem let us know.
Graham
> On 27 Oct 2015, at 10:08 am, Mitch Sundt <[email protected]> wrote:
>
> I have an existing Apache2 deployment of mod-wsgi 3.4.x on Ubuntu
>
> I'd simply like to upgrade that to use the latest mod-wsgi 4.x
>
> I cannot find any documentation on how to do that (i.e., not use
> mod_wsgi-express).
>
> If I use:
>
> pip install mod_wsgi
>
> Where is the mod_wsgi.so placed?
>
> And can I then update the mods-available/wsgi.load file to point to that
> location and have everything work?
>
> I also could not find find any migration documentation.
>
> What changes are required between the 3.x and 4.x versions?
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/modwsgi
> <http://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.