From: karl at karlaustin dot com Operating system: RH7.3 PHP version: 4.3.1 PHP Bug Type: PostgreSQL related Bug description: pcntl_fork causes DB insert/update to fail.
Description: ------------ When using pcntl_fork with PHP the child processes are unable to use a database connection that has been created via PEAR DB to a postgresql DB server to update/insert any rows. Reproduce code: --------------- http://www.karlaustin.com/php/pcntl-db.phps Expected result: ---------------- DB Should have updated values. It does not. Actual result: -------------- Error: [nativecode= server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. ] -- Edit bug report at http://bugs.php.net/?id=24302&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24302&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24302&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24302&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24302&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24302&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24302&r=support Expected behavior: http://bugs.php.net/fix.php?id=24302&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24302&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24302&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24302&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24302&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24302&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24302&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24302&r=gnused