|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-15 03:46 UTC] twilightthorn dot kh at gmail dot com
[2008-07-15 06:36 UTC] pajoye@php.net
[2008-07-15 09:01 UTC] twilightthorn dot kh at gmail dot com
[2008-07-15 09:07 UTC] pajoye@php.net
[2008-07-15 10:20 UTC] twilightthorn dot kh at gmail dot com
[2008-07-22 22:28 UTC] jani@php.net
[2008-07-22 23:28 UTC] pajoye@php.net
[2008-07-30 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 08:00:02 2025 UTC |
Description: ------------ As far as I can tell any successful call to a database, local or on an external server, will crash apache. I'm using a WAMP2.0c setup using PHP5.2.5 on vista and it did work fine until I added the PHP Postgre extension. I do know that the extension is up-to-date, and have in fact even tried to replace it with the one used in PHP5.2.6, it also fails and crashes the server. Without the extension loaded, PHP/apache will output all errors and any other processing messages before the PG_Connect() call, upon which processing halts. The system event log refers to ntdll.dll on this crash, but I don't really know why. This does sound an aweful lot like an Apache bug, but it only occurs when PHP's Postgre extension is loaded and the pg_connect(); function is called. Best regards, and thanks. Thomas. Reproduce code: --------------- <?php //... $link = pg_connect("host=localhost port=5432 dbname=public user=postgres password=PASS") or op_err('Con'); //... ?> Expected result: ---------------- A successful database call and web-page out put. Actual result: -------------- I get a pop-up message telling me HTTPD.EXE has stopped working. This is the information logged in the system by its failure: ------------------ Faulting application httpd.exe, version 2.2.8.0, time stamp 0x47904924, faulting module ntdll.dll, version 6.0.6000.16386, time stamp 0x4549bdc9, exception code 0xc00000fd, fault offset 0x00061635, process id 0x1174, application start time 0x01c8e628c7166890. ------------------ There are no other entries in my PHP or Apache error logs.