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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 + 39 = ?
Subscribe to this entry?

 
 [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: Thu Apr 25 14:01:31 2024 UTC