#3525 [Opn->]: Strange php3_* configuration results while using .htaccess

From: Date: Tue, 01 Oct 2002 18:53:44 +0000
Subject: #3525 [Opn->]: Strange php3_* configuration results while using .htaccess
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21041@lists.php.net to get a copy of this message
ID: 3525 Updated by: hholzgra@php.net Reported By: pumuckel@metropolis.de -Status: Open +Status: Won\'t fix Bug Type: Misbehaving function Operating System: all PHP Version: 3.0.14 New Comment: We are sorry, but can not support PHP 3 related problems anymore. Momentum is gathering for PHP 5, and we think supporting PHP 3 will lead to a waste of resources which we want to put into getting PHP 5 ready. Ofcourse PHP 4 will will continue to be supported for the forseeable future. Previous Comments: ------------------------------------------------------------------------ [2000-02-17 19:59:43] pumuckel@metropolis.de Hi, upgrading from 3.0.11 to 3.0.14 we runned into a strange configuration problem for all of the php3_* parameters. Since I've seen you've changed this code (mod_php3.c) I assume that you didn't check this out: Assume you have a config in httpd.conf in a virtual host like: <VirtualHost ANY.HOST> php3_include_path .:./inc/:/path/to/somewhere/inc/ php3_auto_prepend_file header.php3 ... </VirtualHost> If you _now_ have a .htaccess file somewhere in the document root of this vhost, 3.0.11 only has overwritten new parameters from within this .htaccess file. NOW it deletes _all_ defined php3_* parameters from the vhost and inserts just those which are present in the .htaccess file. E.g. if the .htaccess file contains php3_include_path /path/to/somewhere/else it will delete the php3_auto_prepend_file And I don't think that this is a good idea (all other php3 parameters are cleared as well, eg. logging parameters etc) Bug or Feature? Why isn't this change documented in the changelog, anyway? /mike ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3525&edit=1

« previous php.bugs (#21041) next »