Author |
|
spser
Joined: 29 Aug 2016 Posts: 97
|
Posted: Fri 16 Apr '21 3:33 Post subject: Apache 2.4.46 VC16 crash with mod_ssl |
|
|
Php: php-7.4.16-nts-Win32-vc15-x64.zip
try php-7.4.16-ts-Win32-vc15-x64.zip
I have installed the following components
Apache: httpd-2.4.46-win64-VS16.zip
Php: php-7.4.16-nts-Win32-vc15-x64.zip
Runtime:
Visual C++ Redistributable VS2015-2017-2019_vcredist_x64-14.28.29914.0.exe
Visual C++ Redistributable VS2015-2017-2019_vcredist_x86-14.28.29914.0.exe
If I run Apache without the module "LoadModule ssl_module modules/mod_ssl.so" all working fine.
If I run Apache with module "LoadModule ssl_module modules/mod_ssl.so":
- No Error.log is written
- The event log says: [quote]Name der fehlerhaften Anwendung: httpd.exe, Version: 2.4.46.0, Zeitstempel: 0x605f0c61
Name des fehlerhaften Moduls: VCRUNTIME140.dll, Version: 14.28.29914.0, Zeitstempel: 0x605e52a0
Ausnahmecode: 0xc0000005
Fehleroffset: 0x0000000000001d9b
ID des fehlerhaften Prozesses: 0x247c
Startzeit der fehlerhaften Anwendung: 0x01d73234b183f123
Pfad der fehlerhaften Anwendung: D:\Apache\Apache24\bin\httpd.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll
Berichtskennung: 1e005ed3-9611-48f8-986d-0308855a2e45
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist: |
|
Back to top |
|
ltdeta
Joined: 27 Feb 2015 Posts: 27 Location: Germany
|
Posted: Fri 16 Apr '21 8:19 Post subject: |
|
|
Sorry was my mistake.
I am using httpd-2.4.46-win64-VC15.zip and php-7.4.16-nts-Win32-vc15-x64.zip.
It does not matter whether nts or ts
The module does not work... |
|
Back to top |
|
ltdeta
Joined: 27 Feb 2015 Posts: 27 Location: Germany
|
|
Back to top |
|
spser
Joined: 29 Aug 2016 Posts: 97
|
Posted: Fri 16 Apr '21 11:31 Post subject: |
|
|
openssl
OpenSSL support enabled
OpenSSL Library Version OpenSSL 1.1.1k 25 Mar 2021
OpenSSL Header Version OpenSSL 1.1.1k 25 Mar 2021
Openssl default config \usr\local\ssl/openssl.cnf |
|
Back to top |
|
ltdeta
Joined: 27 Feb 2015 Posts: 27 Location: Germany
|
Posted: Fri 16 Apr '21 12:45 Post subject: |
|
|
Yes, openssl works too but i need https and for that i need the apache module mod_ssl |
|
Back to top |
|
ltdeta
Joined: 27 Feb 2015 Posts: 27 Location: Germany
|
Posted: Fri 16 Apr '21 21:51 Post subject: |
|
|
I checked the ssl.conf file and found the error.
The following error generates the exception
CustomLog "/bin/rotatelogs.exe -f -t '${SRVROOT}/logs...."
correctly it should read
CustomLog "|bin/rotatelogs.exe -f -t '${SRVROOT}/logs...." |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 17 Apr '21 23:38 Post subject: |
|
|
Run cmd as Administrator
Code: |
D:\Apache\Apache24\bin\httpd.exe -S
|
The -S Parameter checks all syntax including vhost files. |
|
Back to top |
|
ltdeta
Joined: 27 Feb 2015 Posts: 27 Location: Germany
|
Posted: Mon 19 Apr '21 8:46 Post subject: |
|
|
ltdeta wrote: | I checked the ssl.conf file and found the error.
The following error generates the exception
CustomLog "/bin/rotatelogs.exe -f -t '${SRVROOT}/logs...."
correctly it should read
CustomLog "|bin/rotatelogs.exe -f -t '${SRVROOT}/logs...." |
I must correct myself,the error was that missing vertical stroke at the beginning
CustomLog "bin/rotatelogs.exe -f -t '${SRVROOT}/logs...."
This is not detected as an error by the syntax check |
|
Back to top |
|