#28522 [Fbk->Opn]: .htaccess settings missing
ID: 28522
User updated by: phpbugs at pajunas dot net
Reported By: phpbugs at pajunas dot net
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: FreeBSD 5.2.x
PHP Version: 4.3.6
New Comment:
Yes, I am using 4.3.6. I encountered that ini leak bug
in 4.3.4 and limped by with MaxRequestsPerChild 1 until
4.3.5 came out.
However, in this case, setting MaxRequestsPerChild 1
does not appear to have any effect.
Previous Comments:
------------------------------------------------------------------------
[2004-05-26 19:31:22] iliaa@php.net
Are you sure you are running 4.3.6? 4.3.6 has been out for
just over a month. The error you've describe is reminiscent
of a ini leak solved by 4.3.6.
------------------------------------------------------------------------
[2004-05-26 01:31:07] phpbugs at pajunas dot net
Description:
------------
After several months of proper behavior and no system
changes, apache2/php are no longer consistently applying
php_value and php_flag settings from .htaccess files.
I create a .htaccess file including the following
settings (which differ from their php.ini values):
php_flag display_errors On
php_flag register_globals On
Between 5-10% of web requests do not take these settings
into account. A phpinfo() script, reloaded repeatedly
produces the php.ini (and not the .htaccess) values some
of the time, and scripts relying on these settings
occasionally break.
This began occurring without warning, and may related to
the addition of ~12 VirtualHosts to apache
./configure' '--enable-versioning' '--enable-memory-
limit' '--with-layout=GNU' '--with-zlib-dir=/usr' '--
disable-all' '--with-regex=php' '--with-pear' '--enable-
bcmath' '--with-bz2=/usr' '--enable-calendar' '--with-
cdb' '--with-crack=/usr/local' '--enable-ctype' '--with-
curl=/usr/local' '--with-db4=/usr/local' '--enable-dba'
'--enable-dbx' '--enable-dio' '--with-dom=/usr/local'
'--with-dom-xslt=/usr/local' '--with-dom-exslt=/usr/
local' '--enable-exif' '--enable-ftp' '--with-gd' '--
enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-
freetype-dir=/usr/local' '--with-t1lib=/usr/local' '--
with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
'--with-gdbm=/usr/local' '--with-gettext=/usr/local' '--
with-iconv-dir=/usr/local' '--with-iconv=/usr/local' '--
with-inifile' '--with-java=/usr/local/jdk1.4.2' '--
enable-mbstring' '--with-mcal=/usr/local' '--with-
mcrypt=/usr/local' '--with-mhash=/usr/local' '--with-
mime-magic=/usr/share/misc/magic.mime' '--with-ming=/
usr/local' '--with-mm=/usr/local' '--with-mnogosearch=/
usr/local' '--with-mysql=/usr/local' '--with-ldap=/usr/
local' '--with-openssl-dir=/usr' '--with-openssl=/usr'
'--enable-overload' '--with-pcre-regex=yes' '--with-
pdflib=/usr/local' '--enable-posix' '--with-pgsql=/usr/
local' '--with-pspell=/usr/local' '--enable-session' '--
enable-shmop' '--enable-sockets' '--enable-sysvsem' '--
enable-sysvshm' '--enable-tokenizer' '--with-unixODBC=/
usr/local' '--enable-wddx' '--with-expat-dir=/usr/local'
'--enable-xml' '--with-xmlrpc' '--enable-xslt' '--with-
xslt-sablot=/usr/local' '--with-zip=/usr/local' '--with-
zlib=yes' '--with-apxs2=/usr/local/sbin/apxs' '--with-
imap=/usr/local' '--with-imap-ssl=/usr/local' '--with-
snmp=/usr/local' '--enable-ucd-snmp-hack' '--prefix=/
usr/local' 'i386-portbld-freebsd5.2'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28522&edit=1
Thread (6 messages)