Bug #14093 Updated: Wrong values in the predefined PHP_*DIR constants

From: Date: Sat, 08 Jun 2002 17:48:17 +0000
Subject: Bug #14093 Updated: Wrong values in the predefined PHP_*DIR constants
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9878@lists.php.net to get a copy of this message
ID: 14093 Updated by: cox@php.net Reported By: alexmerz@php.net -Status: Open +Status: Duplicate Bug Type: Variables related Operating System: Win PHP Version: 4.0.6 New Comment: http://bugs.php.net/bug.php?id=17516 Previous Comments: ------------------------------------------------------------------------ [2001-11-17 10:27:21] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14093&edit=1

« previous php.bugs (#9878) next »