installation

1 view
Skip to first unread message

Scott Merrill

unread,
Feb 4, 2008, 8:32:18 AM2/4/08
to habar...@googlegroups.com, habari...@googlegroups.com
This weekend we checked in some code to hopefully improve our
installation process. In addition to checking for the presence of the
PDO extension, the installer now also checks for a supported PDO
driver. Currently supported drivers are MySQL and SQLite.

The drop-down menu to select the database type on the install screen
is now limited to those drivers currently installed. If your host
only has SQLite enabled, you'll only see the SQLite option in the
drop-down.

It would be grand if folks could grab the latest snapshot and give the
installer another whirl on their various hosts, to make sure this new
feature works as expected.
http://www.habariproject.org/dist/

While on the topic of the installer, I would like to start a
discussion about config.php.

First, it was suggested in #habari this weekend that we consider
moving config.php from the root of the site into /user. This would
(conceivably) make it easier to backup your custom Habari: simply get
all of /user, and drop it into a new installation somewhere. What do
folks think of this idea?

Second, I remain uncomfortable with our installation instructions.
We're still telling people to make their entire root directory
writable so that the installer can create the config.php file.
Conversely, we happily present to the user a generated .htaccess file
for them to copy and paste, without requiring that Habari create it
for them.

At the least, I suggest that we instruct people on how to make an
empty config.php file, and make that empty file writable. Then,
during installation, we can (try to) remove write permissions from
that file.

Alternately, we could consider presenting to the user a config.php
file that they need to copy and paste, just like the .htaccess file.

Finally, we could go back to the config.php.default, and tell users
how to edit that file, renaming it to config.php.

Are there any strong feelings one way or another on these ideas?

Thanks,
Scott

Reply all
Reply to author
Forward
0 new messages