Bug #14764: Apache Error when calling enclosed function

From: Date: Sun, 30 Dec 2001 10:30:36 +0000
Subject: Bug #14764: Apache Error when calling enclosed function
Groups: php.dev 
Request: Send a blank email to php-dev+get-75336@lists.php.net to get a copy of this message
From:             piem@altern.org
Operating system: Win XP
PHP version:      4.0.6
PHP Bug Type:     Apache related
Bug description:  Apache Error when calling enclosed function

//Config :Apache/1.3.22 (Win32) PHP/4.0.8-dev
//function to extract variables in path
function debug_var_in_path(){
  return "PATH_TRANSLATED : $PATH_TRANSLATED<br/>
  PHP_SELF        : $PHP_SELF<br/>
  ASKED           :
".ereg_replace(basename($PHP_SELF),"",basename($PATH_TRANSLATED))."<br/>";
}

//echo debug_var_in_path();
/* Uncomment this line causes Apache say 
instruction at '0x0072688c' referenced memory at '0xffffffff'. The mem
could not be read.
Running as a service, Apache won't be kill though,
but produce 1 to 3 times the same error. */
echo "PATH_TRANSLATED : $PATH_TRANSLATED<br/>
  PHP_SELF        : $PHP_SELF<br/>
  ASKED           :
".ereg_replace(basename($PHP_SELF),"",basename($PATH_TRANSLATED))."<br/>";

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



Thread (1 message)

  • piem at altern dot org
« previous php.dev (#75336) next »