ID:               48516
 Comment by:       mail at julian-stier dot de
 Reported By:      mail at julian-stier dot de
 Status:           Feedback
 Bug Type:         Session related
 Operating System: Windows XP
 PHP Version:      5.3CVS-2009-06-10 (snap)
 New Comment:

Hi,
I changed session.use_only_cookies to 0 and eventually found out, that
it doesnt´t crash just on session_start() .. it´s really weird.

http://yourcounty.yo.funpic.de/ works fine, but
http://yourcounty.yo.funpic.de/bug doesn´t.
http://yourcounty.yo.funpic.de/bug/index.phps is the code.

Funpic works with the following phpinfo: http://phpinfo.ph.funpic.de
My local server works with the described snapshot. While Funpic prints
to me "No suitable nodes are available to serve your request.", my local
server doesn´t load the page. The crash happened mostly when I typed the
url without an ending slash ("/"): localhost/my_path instead of
localhost/my_path/index.php or localhost/my_path/
Is it a bug of apache?

Since I changed the session.use_only_cookies settings the above code
works fine ..


Previous Comments:
------------------------------------------------------------------------

[2009-06-10 12:50:52] j...@php.net

Does PHP 5.2.9 (or rather, the latest snapshot of 5.2) work?

------------------------------------------------------------------------

[2009-06-10 12:09:06] a dot schilder at gmx dot net

Perhaps it has to do with bug #48485. 

The default value for "session.use_only_cookies" has been changed to
"1" in PHP 5.3, which IMHO can lead to interesting results with
"session.use_cookies" set to "0"...

------------------------------------------------------------------------

[2009-06-10 11:58:18] mail at julian-stier dot de

Description:
------------
I use xampp with php-5.3-win32-VC9-x86-latest.zip (10-06-2009). When I
restart the apache (xampp-control), my application runs on a first
visit. Sometimes it it possible to reload the page or click on a link
with a similar code. Eventually (after 1-3 reloads) the application
"crashs". The page loads and loads, but never finishs (I think I have no
max_execution_time ..).
I developed the script with php-5.3.0RC2-nts-Win32-VC9-x86.zip
(15-06-2009) and when I found out, that session_start() is the reason
for the crash, I updated it to php-5.3-win32-VC9-x86-latest.zip
(10-06-2009) ..

Reproduce code:
---------------
<?php
session_start();
echo 'Hello World';
?>

Expected result:
----------------
Hello World

Actual result:
--------------
[no output, loads and loads ..]


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48516&edit=1

Reply via email to