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
 [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-2019 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 00:01:24 2019 UTC