php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #14093 Wrong values in the predefined PHP_*DIR constants
Submitted: 2001-11-17 10:27 UTC Modified: 2002-06-08 20:42 UTC
From: alexmerz@php.net Assigned:
Status: Duplicate Package: Feature/Change Request
PHP Version: 4.0.6 OS: Win
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alexmerz@php.net
New email:
PHP Version: OS:

 

 [2001-11-17 10:27 UTC] alexmerz@php.net
The values of the PHP_*DIR contants are set in php4/main/config.w32.h to predefined paths like "c:\\php4" and "c:\\winnt". You can change them to fit the paths of your system only by compiling PHP. But normally on Win, the distributed binary is used. So the contants shows to the wrong paths (a big problem for the pear installer).

The values of this constants should be set by the installer in php.ini or the registry.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 02:01:30 2024 UTC