From: Joby W. <joby@u.washington.edu> - 2002-09-16 17:27:41
|
I agree with Martin that we need to provide some additional options, which I would be happy to help with. Another option would be a command line php script, much like Squirrelmail's perl configuration script. jbw Martin Geisler wrote: > Jeff Dairiki <da...@da...> writes: > > >>Maybe, since we have a configuration script, the configuration >>script should do all the figuring of the defaults and autodetected >>values. (I.e. everything that's now down in lib/config.php.) >> >>Then it can generate a single config file with all required settings >>as constants. > > > Are you sure it's a good idea to have the script write a file with the > settings? This was how my first attempt at a configuration tool > worked, but I've now moved away from the idea. > > The problem is that it rarely works... It only works if the webserver > has write permission to the installation directory of PhpWiki. > > At my server PHP runs as the user 'nobody' whereas the files are owned > by user 'gimpster'. > > The configuration tool also has to be protected so that others cannot > change the configuration. This is not a problem, but it has to be > considered. > > The current configurator lets you create a configuration that you can > /download/ and then later upload using FTP or whatever mechanism you > use for this. > > Just a couple of thoughts... > |