Hello,
I've tested a few things today, here is a little something to (re-)open the discussion :) I think it would be nice if PMA would have a simple configuration generator, like in many other projects:
What about something simple like that? : http://www.phpmyadmin.net/swix_pma/setup/
Scoll to the end of the page to find the [generate] button.
It's based on the orginal Documentation.html, with some special "cfgen" tags, which are simply parsed by the setup/index.php script. (look at the .html source of the original http://www.phpmyadmin.net/swix_pma/Documentation.html )
source: http://www.phpmyadmin.net/swix_pma/setup/index.phps and http://www.phpmyadmin.net/swix_pma/setup/generate.phps
The generate.php script needs a special version of the config.inc.php files (with lines like: "$cfg['blowfish_secret'] = '%%blowfish_secret%%'; ")
Do you think something like that would be good? Is that the right way? Feedback welcome :)
regards & have a nice week-end, Olivier
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Olivier Mueller wrote:
I've tested a few things today, here is a little something to (re-)open the discussion :)
Unfortunately, the setup script I started a long time ago seems to be lost. If you want to take over this RFE, feel free to do so. :-)
I think it would be nice if PMA would have a simple configuration generator, like in many other projects:
What about something simple like that? : http://www.phpmyadmin.net/swix_pma/setup/
Do you think something like that would be good? Is that the right way? Feedback welcome :)
This is a good start, but it's almost as "complicated" as filling out the config itself. :-)
A setup script should guide novice users through the configuration step by step. It should detect what php / MySQL version the user is running and which extensions are available, ask the user what his copy of phpMyAdmin is intended for and offer the best configuration variables based on that information.
For example, if the user has iconv or recode support enabled, why shouldn't he enable AllowAnywhereRecoding?
Of course, this would be much harder to maintain.
Regards,
AMT
On Sat, 2005-01-15 at 08:23 +0100, Alexander M. Turek wrote:
I've tested a few things today, here is a little something to (re-)open the discussion :)
Unfortunately, the setup script I started a long time ago seems to be lost. If you want to take over this RFE, feel free to do so. :-)
:-) well, can you describe a little bit how your script worked? what was your idea?
What about something simple like that? : http://www.phpmyadmin.net/swix_pma/setup/
This is a good start, but it's almost as "complicated" as filling out the config itself. :-)
yep, that's right, that would be more for "advanced users" than for starters. The positive things are that you can create your file directely while watching the docs, and that it doesn't require a lot of of work on our side.
A setup script should guide novice users through the configuration step by step. It should detect what php / MySQL version the user is running and which extensions are available, ask the user what his copy of phpMyAdmin is intended for and offer the best configuration variables based on that information.
ok, +1 :-)
cheers, Olivier