#35099 [NEW]: After Upgrade Applications Timeout after session_start() Called.
| From: | webmaster at rdc dot ab dot ca | Date: | Fri, 04 Nov 2005 05:15:11 +0000 |
| Subject: | #35099 [NEW]: After Upgrade Applications Timeout after session_start() Called. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-87546@lists.php.net to get a copy of this message | ||
From: webmaster at rdc dot ab dot ca
Operating system: FreeBSD 4.9-STABLE
PHP version: 4.4.1
PHP Bug Type: Session related
Bug description: After Upgrade Applications Timeout after session_start() Called.
Description:
------------
Previously to upgrading php-4.4.1 we had no apparent problems with the php
session_start() function. After the upgrade we noticed that this one
specific script was starting to fail at random occurrences on a production
web page.
I did try removing the Zend Optimizer, changing the max_execution setting
and remming out the session_start() function. In all cases the only
difference was the remming out of the session_start().
Currently we have downgraded to php 4.4.0, everything works fine again,
but are nervous about the security issues attached to that.
NOTE: It does look similar to #17451, I'm confused about why the
difference between 4.4.0 and 4.4.1 and hence submitting this.
## Configure Line
./configure
--with-mysql=/usr/local/mysql/
--with-apache=../apache_1.3.34 --with-jpeg-dir=/usr/local/include
--with-png-dir=/usr/local/include
--with-freetype-dir=/usr/local/include/freetype2 --with-ttf=/usr/local/ttf
--enable-shmop
--with-zlib-dir=/usr/local/zlib/
--with-mcrypt
--with-openssl=/usr/local/ssl/
## Unique information...
## Unique PHP.INI information...
zend_optimizer.version=2.5.10a
session.cache_expire = 15
output_buffering = 4096
allow_call_time_pass_reference = Off
memory_limit = 16M (1024MB Base Ram)
display_errors = Off
log_errors = On
error_log = "OUR_LOCAL_PATH"
variables_order = "GPCS"
register_globals = On <<-- php_value register_globals 0 in apache.
register_argc_argv = Off
default_socket_timeout = 60
session.save_path = /tmp <<-- chmod'd 1777
max_execution_time = 30
Reproduce code:
---------------
## Sample Script
<?php
session_start();
printf("Got here!<br />\n"); // Doesn't get here.
exit();
?>
Expected result:
----------------
Got here!
Actual result:
--------------
Times out.
--
Edit bug report at http://bugs.php.net/?id=35099&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35099&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35099&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35099&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35099&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35099&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35099&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35099&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35099&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35099&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35099&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35099&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35099&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35099&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35099&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35099&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35099&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35099&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35099&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35099&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35099&r=mysqlcfg