Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

From: Date: Mon, 23 Apr 2001 22:10:31 +0000
Subject: Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5227@lists.php.net to get a copy of this message
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: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 > >> > > >> > > > 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: 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.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.net > > ZS> -- > ZS> Zeev Suraski <zeev@zend.com> > ZS> CTO & co-founder, Zend Technologies Ltd. > ZS> http://www.zend.com/ > > /*-- > daniel beulshausen - daniel@php4win.de > using php on windows? http://www.php4win.de > > > >

« previous php.cvs (#5227) next »