How to install mod_maxminddb?

Alles, was den Apache betrifft, kann hier besprochen werden.

How to install mod_maxminddb?

Postby chadreitsma » 15. October 2021 06:07

I need to install mod_maxminddb for Geo location functions.

Already tried getting the Windows binaries from Apache Haus, as outlined here: https://www.apachehaus.com/cgi-bin/download.plx#APACHE24VC15
Tried both VC15 + VC16 versions. Apache just starts then instantly crashes. There is nothing in the Windows event viewer, or apache error.log :(

Anyone have any luck getting this to work?
chadreitsma
 
Posts: 5
Joined: 28. June 2021 04:54
XAMPP version: 7.4.7
Operating System: Windows7 Pro x64

Re: How to install mod_maxminddb?

Postby Nobbie » 15. October 2021 12:09

Did you also get Apache 2.4.x from there, or only the module? I would not use Xampp therefore, instead get Apache from Apachehaus.
Nobbie
 
Posts: 13165
Joined: 09. March 2008 13:04

Re: How to install mod_maxminddb?

Postby chadreitsma » 15. October 2021 15:17

Just the module - I assumed because Apache 2.4 is installed with Xampp it would work, but I'll try your suggestion!
chadreitsma
 
Posts: 5
Joined: 28. June 2021 04:54
XAMPP version: 7.4.7
Operating System: Windows7 Pro x64

Re: How to install mod_maxminddb?

Postby chadreitsma » 15. October 2021 18:35

Ah. no luck - same issue. I'm giving up for now, not a huge deal as I can push my changes to a server that already has mod_maxminddb working, sucks there is no support for this.
chadreitsma
 
Posts: 5
Joined: 28. June 2021 04:54
XAMPP version: 7.4.7
Operating System: Windows7 Pro x64

Re: How to install mod_maxminddb?

Postby chadreitsma » 16. October 2021 06:16

Got it working by moving the .mmdb files into C:\geoip\ (outside of the Xampp folder). phpinfo shows the module has been loaded, but the server variables are not available. It dawned on me that my ip would be 127.0.0.1 so not sure what I was thinking, lol.
chadreitsma
 
Posts: 5
Joined: 28. June 2021 04:54
XAMPP version: 7.4.7
Operating System: Windows7 Pro x64


Return to Apache

Who is online

Users browsing this forum: No registered users and 202 guests