Sorry, read too quickly.

The Apache error logs when it starts up should show the mod_wsgi version.

If a new enough mod_wsgi version you can also import mod_wsgi module and print 
out version.

https://modwsgi.readthedocs.io/en/master/user-guides/assorted-tips-and-tricks.html
Know whether mod_wsgi module is from a system package or self installed is a 
but more difficult.

Graham


> On 5 Feb 2024, at 11:04 am, Olof S <olofde...@gmail.com> wrote:
> 
> If I understand that documentation correctly, that tells me about the python 
> version. I'm instead after seeing which version of mod_wsgi I'm using. What 
> am I missing?
> 
> On Sun, Feb 4, 2024, 20:24 Graham Dumpleton <graham.dumple...@gmail.com 
> <mailto:graham.dumple...@gmail.com>> wrote:
>> See documentation at:
>> 
>> Checking Your Installation — mod_wsgi 5.0.0 documentation
>> modwsgi.readthedocs.io
>> 
>>  
>> <https://modwsgi.readthedocs.io/en/master/user-guides/checking-your-installation.html#python-installation-in-use>Checking
>>  Your Installation — mod_wsgi 5.0.0 documentation 
>> <https://modwsgi.readthedocs.io/en/master/user-guides/checking-your-installation.html#python-installation-in-use>
>> modwsgi.readthedocs.io 
>> <https://modwsgi.readthedocs.io/en/master/user-guides/checking-your-installation.html#python-installation-in-use>
>>       
>> <https://modwsgi.readthedocs.io/en/master/user-guides/checking-your-installation.html#python-installation-in-use>
>> 
>>> On 4 Feb 2024, at 10:59 pm, Olof S <olofde...@gmail.com 
>>> <mailto:olofde...@gmail.com>> wrote:
>>> 
>>> Thank you so much for mod_wsgi!
>>> 
>>> How can I tell which version of mod_wsgi is in use? Someone else set up the 
>>> server ages ago, and I don't know if Apache is using the version of 
>>> mod_wsgi from the system package manager, or if it's using some version 
>>> built from source, and if so which. Is there a way to find this out?
>>> 
>>> The only copy of mod_wsgi.so I can find is
>>> /usr/lib/apache2/modules/mod_wsgi.so,
>>> which is symlinked to mod_wsgi.so-3.9.
>>> 
>>> On the other hand, dpkg -l shows that libapache2-mod-wsgi-py3 4.7.1-3 is 
>>> installed on the system. Can I somehow tell if this is what Apache is 
>>> actually using?
>>> 
>>> Thanks!
>>> 
>>> -- 
>>> 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 modwsgi+unsubscr...@googlegroups.com 
>>> <mailto:modwsgi+unsubscr...@googlegroups.com>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/modwsgi/9968691a-cc2c-4252-a007-9f35e0ba438en%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/modwsgi/9968691a-cc2c-4252-a007-9f35e0ba438en%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "modwsgi" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/modwsgi/EsspI-134Lo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> modwsgi+unsubscr...@googlegroups.com 
>> <mailto:modwsgi+unsubscr...@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/modwsgi/21FD5A44-B168-4E14-AC67-277A043FE6C2%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/modwsgi/21FD5A44-B168-4E14-AC67-277A043FE6C2%40gmail.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 modwsgi+unsubscr...@googlegroups.com 
> <mailto:modwsgi+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/CALEkGdVtt1mfYszfFDdL9H0sYAFaLG7OH_ra2_qRvR%2B-uznmFQ%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/modwsgi/CALEkGdVtt1mfYszfFDdL9H0sYAFaLG7OH_ra2_qRvR%2B-uznmFQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> <favicon.ico><favicon.ico>

-- 
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 modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/35E4E218-5C2E-496C-87EA-8C52080B12A9%40gmail.com.

Reply via email to