Ask a Question related to PHP Development, Design and Development.
-
sniper@php.net #1
#24717 [Opn->Fbk]: Using session_register() crashes Apache and finds no php file
ID: 24717
Updated by: [email]sniper@php.net[/email]
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:
[url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]
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 [url]http://bugs.php.net/?id=24717&edit=1[/url]
sniper@php.net Guest
-
#40315 [NEW]: Apache crashes with PHP
From: cpf at airenet dot com Operating system: Windows XP PHP version: 5.2.0 PHP Bug Type: Apache2 related Bug description: ... -
#39636 [NEW]: PHP 5.2.0 crashes Apache 2.2.3
From: dj02 dot net at nbl dot fi Operating system: Windows XP PRO SP2 (5.1.2600) PHP version: 5.2.0 PHP Bug Type: ... -
#39476 [Opn]: Apache 2.2.3/PHP 5.2.0/JpGraph 2.1.3 crashes Apache
ID: 39476 User updated by: digdug3 at zonnet dot nl -Summary: Apache 2.2.3/PHP 5.2.0/JpGrahp 2.1.3 crashed apache Reported... -
#24717 [Fbk->NoF]: 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: Feedback +Status: ... -
#24717 [NEW]: Using session_register() crashes Apache and finds no php file
From: syrinx at centrum dot cz Operating system: Windows 98 PHP version: 4.3.2 PHP Bug Type: Session related Bug...



Reply With Quote

