RE: RE: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
| From: | Zeev Suraski | Date: | Mon, 23 Apr 2001 20:19:36 +0000 |
| Subject: | RE: RE: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-5224@lists.php.net to get a copy of this message | ||
It should be the Program Files directory, concatenated with 'PHP'; Under Windows, we should behave like Windows apps...
Zeev
At 21:50 23/4/2001, James Moore wrote:
how about defaulting to SystemDrive\\php4 but also allowing a envromental variable to be set so #define PHP_BINDIR (getenv("PHP_BinDir"))?getenv("PHP_BinDir"):c:\\php4 or somthing like that which works in C - James -----Original Message----- From: Frank M. Kromann [mailto:frank@frontbase.com] Sent: 23 April 2001 19:24 To: James Moore Cc: php-cvs@lists.php.net Subject: Re: RE: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c Hi James, No problem. I change it to #define PHP_CONFIG_FILE_PATH getenv("SystemRoot") What about all the other directories ? These should be configureable too. - Frank-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netUgh thats very very ugly.. I dont want my files there can you please use SYSROOT instead of c:\\winnt please. - James -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netfmk Mon Apr 23 10:33:22 2001 EDTModified files:/php4/main config.w32.h php_ini.c+ +/* Define directory constants for php and pear */ +#define PHP_BINDIR "c:\\php4" +#define PHP_LIBDIR "c:\\php4" +#define PHP_DATADIR "c:\\php4" +#define PHP_SYSCONFDIR "c:\\php4" +#define PHP_LOCALSTATEDIR "c:\\php4" +#define PHP_CONFIG_FILE_PATH "c:\\winnt" +#define PEAR_INSTALLDIR "c:\\php4\\pear"