RE: [PHP-DEV] config.w32.h
| From: | Preston L. Bannister | Date: | Wed, 01 May 2002 18:45:33 +0000 |
| Subject: | RE: [PHP-DEV] config.w32.h | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83569@lists.php.net to get a copy of this message | ||
From: Daniel Beulshausen [mailto:daniel@php4win.de]
>
> At 18:35 01.05.2002 +0200, Sebastian Bergmann wrote:
> >Daniel Beulshausen wrote:
> > > do you mean constants like PHP_EXTENSION_DIR?
> >
> > For instance, yes.
> >
> > > they should be changed to use the windows registry anyway...
> >
> > Feel free to do it :)
>
> this isn't going to be a big task, i'll put it onto my todo.
From: Sebastian Bergmann [mailto:sebastian@php.net]
>
> "Preston L. Bannister" wrote:
> > Instead I'd suggest that the settings stay in php.ini, but that PHP
> > look for php.ini first local to the installation of php.exe.
>
> The settings we're talking about are not in php.ini.
Perhaps I misunderstood.
Are we talking about (for example) changing this value?
----
main\main.c(270):
STD_PHP_INI_ENTRY("extension_dir", PHP_EXTENSION_DIR, PHP_INI_SYSTEM,
OnUpdateStringUnempty, extension_dir, php_core_globals,
core_globals)
----
Or these?
----
main\main.c(1000):
REGISTER_MAIN_STRINGL_CONSTANT("PEAR_EXTENSION_DIR", PHP_EXTENSION_DIR,
sizeof(PHP_EXTENSION_DIR)-1, CONST_PERSISTENT | CONST_CS);
REGISTER_MAIN_STRINGL_CONSTANT("PHP_EXTENSION_DIR", PHP_EXTENSION_DIR,
sizeof(PHP_EXTENSION_DIR)-1, CONST_PERSISTENT | CONST_CS);
----