#24302 [NEW]: pcntl_fork causes DB insert/update to fail.

From: Date: Mon, 23 Jun 2003 21:01:34 +0000
Subject: #24302 [NEW]: pcntl_fork causes DB insert/update to fail.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42379@lists.php.net to get a copy of this message
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

« previous php.bugs (#42379) next »