Ask a Question related to PHP Development, Design and Development.
-
syrinx at centrum dot cz #1
#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 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]
syrinx at centrum dot cz 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 [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: ...



Reply With Quote

