From: syrinx at centrum dot cz
Operating system: Windows 98
PHP version: 4.3.2
PHP Bug Type: Session related
Bug description: Using session_register() crashes Apache and finds no php file

Description:
------------
I have started PHP 4.0.6 with Apache 1.3.27.

If I use session_register() after the headers were sent, it works
properly. If I want to show a page where is session%register too, the
Apache crashes and writes that Apache.exe caused an error of php4ts.dll.

Then I installed PHP 4.3.2. The Apache doesn't crash now, but loading of
the php file fails after 30 secons ( time limit ).

Reproduce code:
---------------
file1.php
<?php session_start(); ?>
<html>
<?php session_register('bla');

file2.php
<?php session_register('bla');
html

Expected result:
----------------
If I run the file1.php, everything works well.
Then I tried to open file2.php:
PHP 4.0.6 - Apache crashes
PHP 4.3.2 - php does nothing for 30 seconds ( then fails ).

Error logs don't show anything.

Actual result:
--------------
???

--
Edit bug report at [url]http://bugs.php.net/?id=24717&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=24717&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=24717&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=24717&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=24717&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=24717&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=24717&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=24717&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=24717&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=24717&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=24717&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=24717&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=24717&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=24717&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=24717&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=24717&r=gnused[/url]