ID: 3622
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Won\'t fix
Bug Type: Other
Operating System: Solaris 7 x86
PHP Version: 3.0 Latest CVS (25/02/2000)
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-25 11:26:03] [EMAIL PROTECTED]
My configure line:
./configure \
--with-gd --with-oracle=/u/oracle7 \
--with-mysql \
--with-config-file-path=/h/home/www/conf \
--with-apxs=/h/home/www/bin/apxs \
--enable-debug --enable-magic-quotes=yes \
--enable-memory-limit=yes --enable-url-fopen-wrapper=no \
--enable-sysvsem=yes --enable-sysvshm=yes \
--enable-track-vars=yes --with-system-regex \
--enable-versioning --enable-safe-mode
I faced the problem when HTTP_*_VARS were no set. I dig it out and
found that sometimes gpc_order
variable in php3_ini structure contains garbag like "mod_php3.c" or
"<IfModule>".
Later I found that in function
static void *php3_merge_dir(pool *p, void *basev, void *addv)
I get this garbage from basev.
So I looked at *php3_create_dir(pool * p, char *dummy)
function to find out what is wrong.
I changed code of this function to make it more understanable and
(IMHO)
more correct.
So, here is my version of this function (all stuff related to
mod_php3.c):
/*
* Create the per-directory config structure with defaults from
php3_ini_master
*/
static void *php3_create_dir(pool * p, char *dummy)
{
php3_ini_structure *new;
static int first_time = 1;
php3_module_startup();
new = (php3_ini_structure *) palloc(p,
sizeof(php3_ini_structure));
memcpy(new,&php3_ini_master,sizeof(php3_ini_structure));
return new;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=3622&edit=1