logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4.46 VC16 crash with mod_ssl
Author
spser



Joined: 29 Aug 2016
Posts: 97

PostPosted: Fri 16 Apr '21 3:33    Post subject: Apache 2.4.46 VC16 crash with mod_ssl Reply with quote

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

PostPosted: Fri 16 Apr '21 8:19    Post subject: Reply with quote

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

PostPosted: Fri 16 Apr '21 8:52    Post subject: Reply with quote

Here is a link to the current PhpInfo() - if mod_ssl is not enabled

https://c.web.de/@334617167846703232/mcUsA4_6RAiLRAk9gcx0BA
Back to top
spser



Joined: 29 Aug 2016
Posts: 97

PostPosted: Fri 16 Apr '21 11:31    Post subject: Reply with quote

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

PostPosted: Fri 16 Apr '21 12:45    Post subject: Reply with quote

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

PostPosted: Fri 16 Apr '21 21:51    Post subject: Reply with quote

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

PostPosted: Sat 17 Apr '21 23:38    Post subject: Reply with quote

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

PostPosted: Mon 19 Apr '21 8:46    Post subject: Reply with quote

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


Reply to topic   Topic: Apache 2.4.46 VC16 crash with mod_ssl View previous topic :: View next topic
Post new topic   Forum Index -> Apache