ID: 35099
User updated by: webmaster at rdc dot ab dot ca
Reported By: webmaster at rdc dot ab dot ca
Status: Bogus
Bug Type: Session related
Operating System: FreeBSD 4.9-STABLE
PHP Version: 4.4.1
New Comment:
> I did try removing the Zend Optimizer,
Bogus? Maybe I will reword this.
I REMOVED the Zend Optimizer and the problem STILL OCCURRED.
A key point her folks:
./php-4.4.0/
gmake install
cd ../apache-1.3.34
sh config.ourSpecificConfig
gmake
/usr/local/apache/bin/apachectrl stop
gmake install
/usr/local/apache/bin/apachectrl start
**RELOAD THE PAGE WORKS**
-- VERSUS --
./php-4.4.1/
gmake install
cd ../apache-1.3.34
sh config.ourSpecificConfig
gmake
/usr/local/apache/bin/apachectrl stop
gmake install
/usr/local/apache/bin/apachectrl start
**RELOAD THE PAGE FAILS**
What would you do Derick?
Previous Comments:
------------------------------------------------------------------------
[2005-11-04 09:04:06] [EMAIL PROTECTED]
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.
.
------------------------------------------------------------------------
[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