We can not use regestry settingns unless we have an installer or at least a reg file
to help users configure these.
I woud suggest the method with environment variables as step one.
- Frank
> Monday, April 23, 2001, 10:19:36 PM, you wrote:
> > It should be the Program Files directory, concatenated with 'PHP'; Under
> > Windows, we should behave like Windows apps...
>
> we should use registry entries to determine/set the path(s), if those
> entries aren't present it could default to some hardcoded values...
>
> daniel
>
> > 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:[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("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
> >> > > > +
> >> > > > +/* 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"
> >> > >
> >> > > Ugh 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: [EMAIL PROTECTED]
> >> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > PHP CVS Mailing List (http://www.php.net/)
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>--
> >>PHP CVS Mailing List (http://www.php.net/)
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> ZS> --
> ZS> Zeev Suraski <[EMAIL PROTECTED]>
> ZS> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/
>
> /*--
> daniel beulshausen - [EMAIL PROTECTED]
> using php on windows? http://www.php4win.de
>
>
>
>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]