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

Reply via email to