|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-04 09:04 UTC] derick@php.net
[2005-11-04 18:31 UTC] webmaster at rdc dot ab dot ca
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 11:00:02 2025 UTC |
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.