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.63 crashes when using odbc connection to Postgres
Author
jgeert1



Joined: 18 Feb 2025
Posts: 1
Location: Belgium, Beerse

PostPosted: Tue 18 Feb '25 16:40    Post subject: Apache 2.4.63 crashes when using odbc connection to Postgres Reply with quote

Hi everyone,

I'm using Apache version 2.4.63 with PHP 2.8.27 on a newly deployed Windows 2022 server together with a number of ODBC drivers (SqlServer, Teradata, Cloudera Impala/Hive, Sybase, ServiceNow, Oracle, Postgres). They all work fine except for the Postgres one. That one is causing Apache to crash with this error:

Faulting application name: httpd.exe, version: 2.4.63.0, time stamp: 0x67a08850
Faulting module name: ntdll.dll, version: 10.0.20348.3089, time stamp: 0x970713bc
Exception code: 0xc0000374
Fault offset: 0x0000000000103509
Faulting process id: 0x1414
Faulting application start time: 0x01db81e141da2e9c
Faulting application path: D:\Apache24\bin\httpd.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll


The ODBC connection to Postgres is working fine when I run the PHP code in a DOS command window, but using it through Apache it's causing a crash of it.

I already installed the latest ODBC drivers for it, but that did not resolve the issue.

I'm using the 64-bit versions only (Apache, PHP, odbc).

Any ideas on how to solve this...?

Thanks,

Jos.
Back to top
Metiri



Joined: 18 Feb 2025
Posts: 1
Location: Uruguay, Montevideo

PostPosted: Thu 20 Feb '25 22:36    Post subject: Reply with quote

I'm experiencing the same issue, but with somewhat old versions of PostgreSQL. If I try with a new PostgreSQL, I have no problems. Nevertheless, it's a concern because I have many installations with older PostgreSQL versions.

I'm test with PhP version is 8.3.16 and 8.3.15 and PostgreSQL 16 (it's OK) and PostgreSQL 10 (same error reporting)
Back to top


Reply to topic   Topic: Apache 2.4.63 crashes when using odbc connection to Postgres View previous topic :: View next topic
Post new topic   Forum Index -> Apache