Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
When I did the windows installer there was some talk of defaulting to install in 'Program files' (I think Zeev suggested it), but there was a significant body of opinion which thought that there would be problems at least with parts of php with respect to the space in the filename. I just listened to the opinion and chickened out defaulting the installation to C:\php (easily overridden by the user). I never did any tests on the space issue, but it may be worth considering here before coming to a conclusion. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- 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]
Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
I don't think there are any problems with the space in the path name. If there are we are better off finding them and fixing them instead of defaulting to c:\php4. I think we should follow the Windows standard on Windows. I know that I hate when programs want to install themselves in c:\ on Windows. Andi At 09:29 AM 4/24/2001 +0100, Phil Driscoll wrote: When I did the windows installer there was some talk of defaulting to install in 'Program files' (I think Zeev suggested it), but there was a significant body of opinion which thought that there would be problems at least with parts of php with respect to the space in the filename. I just listened to the opinion and chickened out defaulting the installation to C:\php (easily overridden by the user). I never did any tests on the space issue, but it may be worth considering here before coming to a conclusion. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- 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]
Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
There shouldn't be any problems with spaces in the name under Windows - I've been using it for years like that... Zeev At 13:02 24/4/2001, Andi Gutmans wrote: I don't think there are any problems with the space in the path name. If there are we are better off finding them and fixing them instead of defaulting to c:\php4. I think we should follow the Windows standard on Windows. I know that I hate when programs want to install themselves in c:\ on Windows. Andi At 09:29 AM 4/24/2001 +0100, Phil Driscoll wrote: When I did the windows installer there was some talk of defaulting to install in 'Program files' (I think Zeev suggested it), but there was a significant body of opinion which thought that there would be problems at least with parts of php with respect to the space in the filename. I just listened to the opinion and chickened out defaulting the installation to C:\php (easily overridden by the user). I never did any tests on the space issue, but it may be worth considering here before coming to a conclusion. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- 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] -- Zeev Suraski [EMAIL PROTECTED] CTO co-founder, Zend Technologies Ltd. http://www.zend.com/ -- 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]
Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
If there are we are better off finding them and fixing them instead of Agreed. However the 'Program files' folder is the standard place where applications that the user runs live. Web scripting things seem to live (at least on NT) in SYSTEMROOT\system32\inetsrv - which is more unpleasant than in C:\ IMHO. I don't care too much where things go as long as it works, but certainly, if we want to make things easier for users, we should bear in mind that all the IIS/PWS management tools default to looking in SYSTEMROOT\system32\inetsrv for things when configuring scriptmapping. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- 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]
RE: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
If there are we are better off finding them and fixing them instead of defaulting to c:\php4. I think we should follow the Windows standard on Windows. I know that I hate when programs want to install themselves in c:\ on Windows. Just stating the obvious here, but c:\program files is a setting in the registry that can be overridden (on my machine, it's d:\app), so if it is decided to use this dir then please read the location from the registry (I hate programs that install themselves in c:\program files after I have gone through all the trouble of renaming it to d:\app) if we want to make things easier for users, we should bear in mind that all the IIS/PWS management tools default to looking in SYSTEMROOT\system32\inetsrv And since I'm using Apache under Windows (just for testing and developing, but I've never had any trouble), this is probably not the place to default to... Cheerio, Marc. -- 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]
Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
What is the software default path registry key??? I found it once before, when I wasn't looking. Now I'm looking I can't find it. Marc Boeren [EMAIL PROTECTED] wrote in message 7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER">news:7BE0F4A5D7AED2119B7500A0C94C58AC17A73B@DELLSERVER... If there are we are better off finding them and fixing them instead of defaulting to c:\php4. I think we should follow the Windows standard on Windows. I know that I hate when programs want to install themselves in c:\ on Windows. Just stating the obvious here, but c:\program files is a setting in the registry that can be overridden (on my machine, it's d:\app), so if it is decided to use this dir then please read the location from the registry (I hate programs that install themselves in c:\program files after I have gone through all the trouble of renaming it to d:\app) if we want to make things easier for users, we should bear in mind that all the IIS/PWS management tools default to looking in SYSTEMROOT\system32\inetsrv And since I'm using Apache under Windows (just for testing and developing, but I've never had any trouble), this is probably not the place to default to... Cheerio, Marc. -- 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]
RE: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
What is the software default path registry key??? I found it once before, when I wasn't looking. Now I'm looking I can't find it. Do a search for programfilesdir or programfilespath in regedit (you'll probably end up in HKEY_LOCAL_MACHINE/software/microsoft/windows/currentversion...) I think it's one of these... Cheerio, Marc. -- 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]
Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
[Marc Boeren [EMAIL PROTECTED]] If there are we are better off finding them and fixing them instead of defaulting to c:\php4. I think we should follow the Windows standard on Windows. I know that I hate when programs want to install themselves in c:\ on Windows. Just stating the obvious here, but c:\program files is a setting in the registry that can be overridden (on my machine, it's d:\app), so if it is decided to use this dir then please read the location from the registry (I hate programs that install themselves in c:\program files after I have gone through all the trouble of renaming it to d:\app) I have to second this, on non-english versions of Windows this directory has a different name too. - Stig -- Stig Sæther Bakken [EMAIL PROTECTED] Fast Search Transfer ASA, Trondheim, Norway -- 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]
Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
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/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 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]
Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
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/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 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]
Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
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: 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/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 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 -- Zeev Suraski [EMAIL PROTECTED] CTO co-founder, Zend Technologies Ltd. http://www.zend.com/ -- 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]
Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c
IMHO, an ideal default is the path up to php.exe with a conf/php.ini This would be a good default for unix/windows both, and maintain some resembelence consistency with Apache if not anything else. Then I could throw php.ini in the apache conf dir and php.exe would find it there, w/o me having to tell it where. If instead I have a c:\php or a c:\php4 I know a directory conf beneath should contain the appropriate php.ini. Also works well for /usr/local/php/conf/php.ini or where ever php ends up. Global .ini files can be difficult to manage if you've got mutiple versions with different setting requirements. Or just knowing where to find the damn thing. -Joe Daniel Beulshausen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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/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 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] -- 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]