Error when starting Apache 2.46-VS16, with mod_md.so version 2.40
pleo87508 opened this issue · 9 comments
I have the mod_md.so module that is distributed with Apache Lounge httpd-2.2.46-VS16.zip. This is running on Windows server 2019.
After downloading https://github.com/nono303/mod_md/blob/v2.4.0/vs16/x64/libcurl.dll, and https://github.com/nono303/mod_md/blob/v2.4.0/vs16/x64/mod_md.so, and replacing the mod_md.so in Apache modules folder, along with libcurl.dll, when I try and start Apache, I receive the following error:
httpd.exe: Syntax error on line 140 of C:/Apache2.4.46/conf/httpd.conf: Cannot load modules/mod_md.so into server: The Apache service named is not a valid Win32 application.
Line 140 in httpd.conf is the following line:
LoadModule md_module modules/mod_md.so
hi @pleo87508,
Could you please put the error triggered in Windows Event Viewer?
... is not a valid Win32 application
Are you trying to load the x64 mod_md on httpd win32?
Ok (your screenshot is not displayed...)
So, going deeper :)
- Which version of MSVC redist x64 is installed? (might be 14.28.29910)
- Check dll Dependencies for httpd.exe & mod_md.so
- Do a procdump of httpd.exe
Once done, just attach results and I'll have a look on.