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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 09:01:27 2024 UTC