LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so This is the wsgi.load file in /etc/apache2/mods-available directory.
Nico Op dinsdag 4 maart 2025 om 11:06:43 UTC+1 schreef Graham Dumpleton: > So if occurred with system package for mod_wsgi, then is likely a > configuration issue. What do you have in the wsgi.load file? > > On 4 Mar 2025, at 9:04 pm, Android Berg <bergkrimpen...@gmail.com> wrote: > > I did use the ./configure/make/make install methode! > First I used the apt install methode, that gave the same problem. To try > tackle the problem i did apt remove and apt purge to delete the system > version. > Then i used ./configure/ make / make install > > And i have multiple WordPress sites running. So php is in heavy use. > > Nico > > Op dinsdag 4 maart 2025 om 09:25:17 UTC+1 schreef Graham Dumpleton: > >> If you are not using PHP try disabling that module. It can sometimes >> cause conflicts, especially if you are using Anaconda Python and not the >> operating system Python. >> >> The other thing you can try is not to use configure/make/make install >> method for installing mod_wsgi. Instead. use pip install method. See: >> >> [image: twitter.abaf4b19.webp] >> >> mod-wsgi <https://pypi.org/project/mod-wsgi/> >> pypi.org <https://pypi.org/project/mod-wsgi/> >> <https://pypi.org/project/mod-wsgi/> >> >> >> Graham >> >> On 4 Mar 2025, at 7:21 pm, Android Berg <bergkrimpen...@gmail.com> wrote: >> >> Yes i have! >> Nico >> >> Op dinsdag 4 maart 2025 om 00:40:16 UTC+1 schreef Graham Dumpleton: >> >>> Dod you also have PHP module for Apache installed and enabled? >>> >>> On 4 Mar 2025, at 8:53 am, Android Berg <bergkrimpen...@gmail.com> >>> wrote: >>> >>> I am using Debian 11. >>> I did ./configure and make, make install >>> The file does exist, I made a wsgi.load file in >>> /etc/apache2/mods-available and a2enmod him. >>> a2enmod ask you to restart apache and that fail. >>> >>> systemd[1]: apache2.service: Failed with result 'exit-code'. >>> systemd[1]: Failed to start The Apache HTTP Server. >>> systemd[1]: Starting The Apache HTTP Server... >>> apachectl[82075]: Action 'start' failed. >>> >>> Nothing in /var/log/apache2/error.log >>> >>> Thx, Nico >>> >>> >>> Op maandag 3 maart 2025 om 21:17:37 UTC+1 schreef Graham Dumpleton: >>> >>>> What operating system are you on? >>>> >>>> What method of compiling/installing mod_wsgi did you use? >>>> >>>> Does the file /usr/lib/apache2/modules/mod_wsgi.so exist? >>>> >>>> If on a Linux system, check systemctl service logs for Apache. >>>> >>>> Unless it is a syntax error stopping the whole of Apache starting, >>>> there should be something in the Apache error logs. >>>> >>>> On 4 Mar 2025, at 2:04 am, Android Berg <bergkrimpen...@gmail.com> >>>> wrote: >>>> >>>> Hi, >>>> I compiled the latest veresion (5.0.2) and it went well. But after >>>> writing "LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so" >>>> into apache2.conf and try to restart apache it fails. >>>> Nothing in log. No comments at all, and placing # before the line >>>> LoadModule solves the problem but doesn't give me wsgi. >>>> >>>> So, how to now? >>>> >>>> Pit >>>> >>>> -- >>>> 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+u...@googlegroups.com. >>>> To view this discussion visit >>>> https://groups.google.com/d/msgid/modwsgi/7da7093b-9ef2-4895-b576-176769c34ea5n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/modwsgi/7da7093b-9ef2-4895-b576-176769c34ea5n%40googlegroups.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+u...@googlegroups.com. >>> >>> To view this discussion visit >>> https://groups.google.com/d/msgid/modwsgi/87f1d557-6fcc-476c-b941-ae660fae8a68n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/modwsgi/87f1d557-6fcc-476c-b941-ae660fae8a68n%40googlegroups.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+u...@googlegroups.com. >> >> To view this discussion visit >> https://groups.google.com/d/msgid/modwsgi/f68a3ce9-7372-453a-88a1-64c7b9c172b1n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/modwsgi/f68a3ce9-7372-453a-88a1-64c7b9c172b1n%40googlegroups.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+u...@googlegroups.com. > > To view this discussion visit > https://groups.google.com/d/msgid/modwsgi/eaa98e3e-40a8-4a72-ab70-cfab5f9be7e1n%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/eaa98e3e-40a8-4a72-ab70-cfab5f9be7e1n%40googlegroups.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. To view this discussion visit https://groups.google.com/d/msgid/modwsgi/51bfabd8-e3c1-4e97-bcef-5f7188809bf3n%40googlegroups.com.