ID: 35099 Updated by: [EMAIL PROTECTED] Reported By: webmaster at rdc dot ab dot ca -Status: Open +Status: Bogus Bug Type: Session related Operating System: FreeBSD 4.9-STABLE PHP Version: 4.4.1 New Comment:
Do not file bugs when you have Zend extensions (zend_extension=) loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache, APC, Xdebug and ionCube loader. These extensions often modify engine behavior which is not related to PHP itself. . Previous Comments: ------------------------------------------------------------------------ [2005-11-04 06:15:08] webmaster at rdc dot ab dot ca 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 this bug report at http://bugs.php.net/?id=35099&edit=1