#24717 [Opn->Fbk]: Using session_register() crashes Apache and finds no php file
ID: 24717
Updated by: sniper@php.net
Reported By: syrinx at centrum dot cz
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Windows 98
PHP Version: 4.3.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-07-19 12:26:49] syrinx at centrum dot cz
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 this bug report at http://bugs.php.net/?id=24717&edit=1
Thread (3 messages)