["James Moore" <[EMAIL PROTECTED]>]
> 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
Using environment variables would be use
["Frank M. Kromann" <[EMAIL PROTECTED]>]
> fmk Mon Apr 23 10:33:22 2001 EDT
>
> Modified files:
> /php4/mainconfig.w32.h php_ini.c
> Log:
> Fix build on WIn32
> Should the new directorys be static?
For now that's ok, but I guess the installer should l
ine 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:[EMAIL PROTECTED]]
> > Sent: 23 April 2001 19:24
> > T
n [mailto:[EMAIL PROTECTED]]
> Sent: 23 April 2001 19:24
> To: James Moore
> Cc: [EMAIL PROTECTED]
> 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("SystemR
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
> > fmk Mon Apr 23 10:33:22 2001 EDT
> >
> > Modified files:
> > /php4/main config.w32.h php_ini.c
> > +
> fmk Mon Apr 23 10:33:22 2001 EDT
>
> Modified files:
> /php4/mainconfig.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 "
6 matches
Mail list logo