#24248 [Com]: .htaccess php var overides not being cleared between page requests

2004-01-25 Thread paul at vanbrouwershaven dot com
 ID:   24248
 Comment by:   paul at vanbrouwershaven dot com
 Reported By:  dkh-php at nighttide dot net
 Status:   Bogus
 Bug Type: PHP options/info functions
 Operating System: multiple
 PHP Version:  4.3.3RC2-dev/4.3.4/5.0.0b1/5.0.0b3
 New Comment:

Same problem with apache 2.0.48 and PHP 4.3.4

We solved the problem by downgrading tot PHP 4.3.1


Previous Comments:


[2004-01-11 07:29:28] d dot mekic-php at interlize dot net

The solution seems to be to enable SAFE_MODE for the sites which uses
(in .htaccess or httpd.conf) the prepend command.



[2004-01-11 07:14:23] d dot mekic-php at interlize dot net

We've got the same problem with Apache 2.0.48 and PHP 4.3.4 running
under RedHat 9.0.



[2003-12-30 20:02:45] [EMAIL PROTECTED]

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Same as bug #25753



[2003-12-22 17:10:18] dkh-php at nighttide dot net

This is also a problem with 5.0.0b3.

One new item, I notice that the include path is also not being reset in
these instances. The local value sticks. This is not a problem for
things like magic_quotes_gps wich only effects the correct local value.



[2003-12-22 16:17:47] dkh-php at nighttide dot net

4.3.4 with Apach 2.0.48 on FreeBSD 4.9-STABLE still seeing this
problem. 

Default php.ini files. htaccess files described previously. I've seen a
number of comments regarding this problem now coming from Linux users
as well. php config info below:

CPPFLAGS=-I/usr/local/include/pth \
  ./configure \
  --prefix=/usr/local/php \
  --with-apxs2=/usr/local/apache2/bin/apxs \
  --with-mysql=/usr/local/mysql \
  --with-tsrm-pth=/usr/local/lib/pth \
  --with-zlib \
  --with-bz2 \
  --with-openssl \
  --with-pspell \
  --with-curl \
  --with-gdbm \
  --with-ndbm \
  --with-gettext \
  --with-mcrypt \
  --with-pear \
  --with-gd \
  --enable-magic-quotes \
  --enable-bcmath \
  --enable-ftp \
  --enable-memory-limit \
  --enable-dba \
  --with-flatfile \
  --with-mime-magic \
  --with-ncurses \
  --with-exif \
  --with-dom \
  --with-dom-xslt \
  --with-dom-exslt \
  --with-freetype-dir=/usr/local/lib \
  --enable-gd-native-ttf \
  --with-wddx



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24248

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


#24248 [Com]: .htaccess php var overides not being cleared between page requests

2004-01-11 Thread d dot mekic-php at interlize dot net
 ID:   24248
 Comment by:   d dot mekic-php at interlize dot net
 Reported By:  dkh-php at nighttide dot net
 Status:   Bogus
 Bug Type: PHP options/info functions
 Operating System: multiple
 PHP Version:  4.3.3RC2-dev/4.3.4/5.0.0b1/5.0.0b3
 New Comment:

We've got the same problem with Apache 2.0.48 and PHP 4.3.4 running
under RedHat 9.0.


Previous Comments:


[2003-12-30 20:02:45] [EMAIL PROTECTED]

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Same as bug #25753



[2003-12-22 17:10:18] dkh-php at nighttide dot net

This is also a problem with 5.0.0b3.

One new item, I notice that the include path is also not being reset in
these instances. The local value sticks. This is not a problem for
things like magic_quotes_gps wich only effects the correct local value.



[2003-12-22 16:17:47] dkh-php at nighttide dot net

4.3.4 with Apach 2.0.48 on FreeBSD 4.9-STABLE still seeing this
problem. 

Default php.ini files. htaccess files described previously. I've seen a
number of comments regarding this problem now coming from Linux users
as well. php config info below:

CPPFLAGS=-I/usr/local/include/pth \
  ./configure \
  --prefix=/usr/local/php \
  --with-apxs2=/usr/local/apache2/bin/apxs \
  --with-mysql=/usr/local/mysql \
  --with-tsrm-pth=/usr/local/lib/pth \
  --with-zlib \
  --with-bz2 \
  --with-openssl \
  --with-pspell \
  --with-curl \
  --with-gdbm \
  --with-ndbm \
  --with-gettext \
  --with-mcrypt \
  --with-pear \
  --with-gd \
  --enable-magic-quotes \
  --enable-bcmath \
  --enable-ftp \
  --enable-memory-limit \
  --enable-dba \
  --with-flatfile \
  --with-mime-magic \
  --with-ncurses \
  --with-exif \
  --with-dom \
  --with-dom-xslt \
  --with-dom-exslt \
  --with-freetype-dir=/usr/local/lib \
  --enable-gd-native-ttf \
  --with-wddx



[2003-08-15 21:41:27] [EMAIL PROTECTED]

Oh, my bad. We can't really do anything about this unless we can
reproduce this ourselves so you need to provide us all the necessary
information how to do it. So you need to create shortest possible
httpd.conf, php.ini, .htaccess, etc. which we can then use to setup our
own test environment.




[2003-08-15 21:37:01] dkh-php at nighttide dot net

Ah, responded to that in our 11 Jul exchange hence my confussion.

./configure --prefix=/usr/local/apache2 --enable-mods-shared=most
--enable-ssl



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24248

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


#24248 [Com]: .htaccess php var overides not being cleared between page requests

2004-01-11 Thread d dot mekic-php at interlize dot net
 ID:   24248
 Comment by:   d dot mekic-php at interlize dot net
 Reported By:  dkh-php at nighttide dot net
 Status:   Bogus
 Bug Type: PHP options/info functions
 Operating System: multiple
 PHP Version:  4.3.3RC2-dev/4.3.4/5.0.0b1/5.0.0b3
 New Comment:

The solution seems to be to enable SAFE_MODE for the sites which uses
(in .htaccess or httpd.conf) the prepend command.


Previous Comments:


[2004-01-11 07:14:23] d dot mekic-php at interlize dot net

We've got the same problem with Apache 2.0.48 and PHP 4.3.4 running
under RedHat 9.0.



[2003-12-30 20:02:45] [EMAIL PROTECTED]

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Same as bug #25753



[2003-12-22 17:10:18] dkh-php at nighttide dot net

This is also a problem with 5.0.0b3.

One new item, I notice that the include path is also not being reset in
these instances. The local value sticks. This is not a problem for
things like magic_quotes_gps wich only effects the correct local value.



[2003-12-22 16:17:47] dkh-php at nighttide dot net

4.3.4 with Apach 2.0.48 on FreeBSD 4.9-STABLE still seeing this
problem. 

Default php.ini files. htaccess files described previously. I've seen a
number of comments regarding this problem now coming from Linux users
as well. php config info below:

CPPFLAGS=-I/usr/local/include/pth \
  ./configure \
  --prefix=/usr/local/php \
  --with-apxs2=/usr/local/apache2/bin/apxs \
  --with-mysql=/usr/local/mysql \
  --with-tsrm-pth=/usr/local/lib/pth \
  --with-zlib \
  --with-bz2 \
  --with-openssl \
  --with-pspell \
  --with-curl \
  --with-gdbm \
  --with-ndbm \
  --with-gettext \
  --with-mcrypt \
  --with-pear \
  --with-gd \
  --enable-magic-quotes \
  --enable-bcmath \
  --enable-ftp \
  --enable-memory-limit \
  --enable-dba \
  --with-flatfile \
  --with-mime-magic \
  --with-ncurses \
  --with-exif \
  --with-dom \
  --with-dom-xslt \
  --with-dom-exslt \
  --with-freetype-dir=/usr/local/lib \
  --enable-gd-native-ttf \
  --with-wddx



[2003-08-15 21:41:27] [EMAIL PROTECTED]

Oh, my bad. We can't really do anything about this unless we can
reproduce this ourselves so you need to provide us all the necessary
information how to do it. So you need to create shortest possible
httpd.conf, php.ini, .htaccess, etc. which we can then use to setup our
own test environment.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24248

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


#24248 [Com]: .htaccess php var overides not being cleared between page requests

2003-09-22 Thread ian at MrZesty dot net
 ID:   24248
 Comment by:   ian at MrZesty dot net
 Reported By:  dkh-php at nighttide dot net
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: FreeBSD 4.8-STABLE
 PHP Version:  4.3.3RC2-dev/5.0.0b1
 New Comment:

I am also noticing that an auto_append_file (tried from both a
.htaccess and inside an Apache virtualhost) occasionally appears
appended to some pages (both PHP and static HTML pages, 3 different
virtualhost domains - 1 seems to affect the other 2).

Apache 2.0.47 (with both mpm worker and mpm prefork):
./configure \
--disable-asis \
--disable-imap \
--enable-so \
--enable-rewrite \
--enable-deflate \
--enable-ssl \
--enable-proxy \
--enable-cache \
--enable-mem-cache

PHP 4.3.3
'./configure' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--disable-debug' \
'--enable-inline-optimization' \
'--with-openssl' \
'--with-zlib' \
'--with-bz2' \
'--with-ldap' \
'--with-imap' \
'--enable-trans-sid' \
'--with-gd' \
'--with-jpeg-dir' \
'--with-png-dir' \
'--with-gettext' \
'--with-mhash' \
'--with-mysql=/usr/local/mysql' \
'--with-pdflib' \
'--with-pgsql' \
'--enable-memory-limit' \
'--with-curl' \
'--with-xml' \
'--with-mcrypt'

Unfortunately I cannot reliably duplicate the problem either.  It
happened with Apache 2.0.46 and PHP 4.3.2 as well.

My machine is running TurboLinux 7.
glibc 2.2.4
gcc 2.95.3

i.


Previous Comments:


[2003-08-21 00:00:07] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2003-08-15 21:41:27] [EMAIL PROTECTED]

Oh, my bad. We can't really do anything about this unless we can
reproduce this ourselves so you need to provide us all the necessary
information how to do it. So you need to create shortest possible
httpd.conf, php.ini, .htaccess, etc. which we can then use to setup our
own test environment.




[2003-08-15 21:37:01] dkh-php at nighttide dot net

Ah, responded to that in our 11 Jul exchange hence my confussion.

./configure --prefix=/usr/local/apache2 --enable-mods-shared=most
--enable-ssl



[2003-08-15 21:29:10] [EMAIL PROTECTED]

I wanted to know what was the configure line used to configure Apache2
before running 'make'..




[2003-08-15 21:15:12] dkh-php at nighttide dot net

Do you want the whole configuration file?

Its a pretty standard configuration. Regular host and a couple of
virtual hosts.

Lines directly relevent to php:

LoadModule php4_module   modules/libphp4.so

DirectoryIndex index.html index.php index.shtml index.html.var

AddType application/x-httpd-php .php

ErrorDocument lines all pointing to /errors.php



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24248

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


#24248 [Com]: .htaccess php var overides not being cleared between page requests

2003-09-16 Thread oliver dot siegmar at xams dot org
 ID:   24248
 Comment by:   oliver dot siegmar at xams dot org
 Reported By:  dkh-php at nighttide dot net
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: FreeBSD 4.8-STABLE
 PHP Version:  4.3.3RC2-dev/5.0.0b1
 New Comment:

Debian GNU/Linux 3.0r1 [woody]
Apache 2.0.47
PHP 4.3.3 (as module)

Exactly the same problem.

Additional note:

Same effect without .htaccess but auto_prepend_file within VirtualHost
settings.

I found some sites on the internet which describes the same problem:

http://forums.devshed.com/t68387/s.html?highlight=access+error+logs
http://www.phpbuilder.com/mail/php-general/2000121/0797.php
http://bugs.php.net/bug.php?id=19292


From my point of view, this is a very critical bug!


How to reproduce it?

Install Apache2 (no matter what configure string). Install PHP (as
module, not matter what configure string). Use the php-ini.dist and the
default httpd.conf. Set up two name based virtual hosts. One with
auto_prepend_file and one without. Sometimes the auto prepended file
will be auto prepended for the virtual host which don't have that
setting. A workaround is, to set 'php_value auto_prepend_file none' for
the second host. Please fix that bug!


Previous Comments:


[2003-08-21 00:00:07] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2003-08-15 21:41:27] [EMAIL PROTECTED]

Oh, my bad. We can't really do anything about this unless we can
reproduce this ourselves so you need to provide us all the necessary
information how to do it. So you need to create shortest possible
httpd.conf, php.ini, .htaccess, etc. which we can then use to setup our
own test environment.




[2003-08-15 21:37:01] dkh-php at nighttide dot net

Ah, responded to that in our 11 Jul exchange hence my confussion.

./configure --prefix=/usr/local/apache2 --enable-mods-shared=most
--enable-ssl



[2003-08-15 21:29:10] [EMAIL PROTECTED]

I wanted to know what was the configure line used to configure Apache2
before running 'make'..




[2003-08-15 21:15:12] dkh-php at nighttide dot net

Do you want the whole configuration file?

Its a pretty standard configuration. Regular host and a couple of
virtual hosts.

Lines directly relevent to php:

LoadModule php4_module   modules/libphp4.so

DirectoryIndex index.html index.php index.shtml index.html.var

AddType application/x-httpd-php .php

ErrorDocument lines all pointing to /errors.php



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24248

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