Feature #51

Better/Easier Installation

Added by Colin Sullivan 323 days ago. Updated 314 days ago.

Status:New Start:09/09/2009
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:- Spent time: -
Target version:-
Resolution:


Description

I started from scratch with an installation, and I think there must be an easier way than having the user edit the configuration file, then come back the page and fill out the rest of the information. Can't we just make the .php file generate the config file based on values entered on the page? I haven't done this before, so I don't know if it is possible, just an idea. If we were able to do this, the installation could all be done from the browser without any complications, and would be a bit clearer.

What do you guys think?

History

Updated by Cameron Fackler 314 days ago

The problem with this is the permissions of the web directory. By default, the web server should not have write permissions to this directory, for obvious security reasons. Thus, when a user requests the installation page, any file generated could not be written (without some other commands) to the config directory. I can make some logic to generate the file, but the user will have to copy it and verify its permissions (so that it cannot be read by the webserver; again for obvious security reasons) himself. All in all, for now, I figured it wasn't worth the effort to code up the file generator, since the user will have to do some shell commands anyway.

Updated by Colin Sullivan 314 days ago

Ahh, well in this case it seems that the simplest option is the one that is currently implemented. For our current configuration, at least.

Also available in: Atom PDF