Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

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



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

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

Apache 2.4.37 + PHP + LDAPS => AppCrash

Post new topic   Reply to topic    Apache Forum Index -> Apache

View previous topic :: View next topic  
Author Message

Joined: 20 Jul 2012
Posts: 8

PostPosted: Mon 03 Dec '18 21:44    Post subject: Apache 2.4.37 + PHP + LDAPS => AppCrash Reply with quote

Good evening.

I have with the current Version of Apache 2.4.37 (downloaded 30 Novembre 2018) a problem while connecting with a PHP Script to a Domaincontroller via LDAPS connection.

The Apache Server simple crashes.

- Hostserver: Windows 2k12 Server (production) or Windows 10 (development)
- The Apache 2.4.37 x64 Version from this website
- PHP 7.2.12 x64 Threadsafe from windows.php.net
- DC: Microsoft 2k12 Domain Controller

The exactly same script and PHP Version works with Apache 2.4.34 on development and production system

- latest VC++ Redist. is installed

I get in the Event Message the folowing code: (sorry german operation system :/ )

See https://apaste.info/7Yht

In the mentioned logfile is written:

See https://apaste.info/lmkS

Any Ideas?
Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6478
Location: Germany, Next to Hamburg

PostPosted: Mon 10 Dec '18 11:59    Post subject: Reply with quote

In your php.ini set


log_errors = On
display_startup_errors = On
error_log = C:\php_errors.log

You it will be logged what causes that issue.

I get in the Event Message the folowing code: (sorry german operation system :/ )

No Problem Very Happy I can read it.

libcrypto belongs to OpenSSL. It might be the issue that php loads different part of OpenSSL since you run php as module and apache might has a different version (There are OpenSSL files in apache\bin folder and also in the php folder). In my setup there is C:\php72\libcrypto-1_1-x64.dll and C:\Users\james\apache24\bin\libcrypto-1_1-x64.dll

It is recommended to separate PHP from the apache process using fcgid. See https://www.apachelounge.com/viewtopic.php?t=2394

If you still have a question please ask again.
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1