php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19925 Apache2 Filter
Submitted: 2002-10-15 16:46 UTC Modified: 2002-10-15 23:05 UTC
From: pglobal at pglobal dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.3 OS: Win XP Pro
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pglobal at pglobal dot net
New email:
PHP Version: OS:

 

 [2002-10-15 16:46 UTC] pglobal at pglobal dot net
When I try to start apache (2.0.43) with the module php4apache2.dll loaded it doesn't allow apache to start, I've tried to install php 4.24-dev and aparently it works but when I try a script like this one:
<?
$dp = str_replace(basename($PHP_SELF), '', $_SERVER['PATH_TRANSLATED']);
echo $dp;
?>
it simply doen't gives any result.

Thanks
LD

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-15 23:05 UTC] sniper@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
'off'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.


$PHP_SELF is found in $_SERVER like 'PATH_TRANSLATED' is..
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC