ID:               45516
 Comment by:       twilightthorn dot kh at gmail dot com
 Reported By:      twilightthorn dot kh at gmail dot com
 Status:           Open
 Bug Type:         PostgreSQL related
 Operating System: Vista Business
 PHP Version:      5.2.6
 New Comment:

Still no go... :( 

System logs the same error, Apache is still crashing.
To be sure it wasn't JUST Apache, I've tested my server by placing some
massive load on it. Apache did not crash after well over 4 minutes of
work, work that kept my CPU clocked at 100% for the duration. The PGSQL,
and PDO_PGSQL extensions both initialized for this test.

I'm coming to think that maybe the problem isn't with the PGSQL
extensions, but with my ntdll.dll. After all, these same extensions work
on other platforms, and have been found to work on Vista* OS's before,
right?

I've found that there is a later version of ntdll.dll on for my system,
and would love to try using the newer one. But all the same I don't wish
to lose my computer... 
Any other advise that you could offer?


Previous Comments:
------------------------------------------------------------------------

[2008-07-15 06:36:49] [EMAIL PROTECTED]

Can you try using the 5.2.5's pgsql extension? Our extension not the
one from wamp. The extension should work with 5.2.6 as well.

------------------------------------------------------------------------

[2008-07-15 03:46:25] twilightthorn dot kh at gmail dot com

Also, the reason I'm not currently using PHP5.2.6, all the workarounds
submitted to fix the bug of not being able to use PGSQL in that version
have not worked for me. 

If some one would be so kind as to give me and actual, detailed,
workaround for using PGSQL in PHP5.2.6 on Vista Business, I would be
very grateful.

------------------------------------------------------------------------

[2008-07-15 03:37:36] twilightthorn dot kh at gmail dot com

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.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45516&edit=1

Reply via email to