ID: 45516 User updated 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:
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. Previous Comments: ------------------------------------------------------------------------ [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