Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
| From: | Zeev Suraski | Date: | Mon, 23 Apr 2001 23:21:07 +0000 |
| Subject: | Re: Re[3]: [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-5228@lists.php.net to get a copy of this message | ||
I think environment variables aren't any better than registry entries under Windows. It's not as if it's easier to configure environment variables than it is to run regedit...
Zeev
At 01:10 24/4/2001, Frank M. Kromann wrote:
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:-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/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... danielZeev At 21:50 23/4/2001, James Moore wrote:configureable too.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 beplease use- FrankUgh thats very very ugly.. I dont want my files there can youfmk 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"php-list-admin@lists.php.netSYSROOT 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:ZS> -- ZS> Zeev Suraski <zeev@zend.com> ZS> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/ /*-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.de-- 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