|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81 Problems using php3.cgi in alias directories
Submitted: 1998-02-18 17:34 UTC Modified: 1998-04-18 11:16 UTC
From: achim at weisz dot de Assigned: rasmus (profile)
Status: Closed Package: Other
PHP Version: 3.0b4 OS: Linux version 2.0.34
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: achim at weisz dot de
New email:
PHP Version: OS:


 [1998-02-18 17:34 UTC] achim at weisz dot de
I am using the cgi version of php with apache 1.2.5.
If I set an alias in the srm.conf file of apache, I can't 
execute php scripts in these aliased directories.

It seems that the path to the script is not correctly passed 
to the php.cgi bin. In the source, php constructes the path
to the sript by concatenating document_root and path_info.

I think the correct way would be to concatenate document_root
and path_translated ?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-04-18 11:16 UTC] rasmus
This bug is outdated
 [2019-10-23 10:53 UTC]
Automatic comment on behalf of
Log: Fix #81: Lower-casing of PHPT file names can break tests
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Nov 30 15:01:27 2023 UTC