php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24717 Using session_register() crashes Apache and finds no php file
Submitted: 2003-07-19 12:26 UTC Modified: 2003-07-24 15:08 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: syrinx at centrum dot cz Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.3.2 OS: Windows 98
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-07-19 12:26 UTC] 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:
--------------
???

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-24 15:08 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 09:01:28 2024 UTC