Our "config.inc.php" is getting bigger and bigger and is quite complex, especially for "newbies".
What about a simple ~/setup.php which would ask a few simple questions and generate a basic config.inc.php (and why not create/upgrade the 'phpmyadmin' DB), or a perl script like in squirrelmail?
step1: generate a new config.inc.php step2: generate config.inc.php based on an older version -> probably quite (too?) complex, the current file is not really 'parser-friendly'
Wouldn't it be great to have something like that for the 2.6.0 release? :)
regards, Olivier
Hi
Original message (Olivier Mueller, 05.04.2004 02:05 +0200):
Our "config.inc.php" is getting bigger and bigger and is quite complex, especially for "newbies".
What about a simple ~/setup.php which would ask a few simple questions and generate a basic config.inc.php (and why not create/upgrade the 'phpmyadmin' DB), or a perl script like in squirrelmail?
Afaik somebody was working on this (rabus?), but I can't reach sourceforge now, so I can't tell...
step1: generate a new config.inc.php step2: generate config.inc.php based on an older version -> probably quite (too?) complex, the current file is not really 'parser-friendly'
If you do not want to keep comments, just include it and generate again...
Wouldn't it be great to have something like that for the 2.6.0 release? :)
It would be definitely nice :-)
On Mon, 2004-04-05 at 10:19 +0200, Michal Čihař wrote:
Afaik somebody was working on this (rabus?), but I can't reach sourceforge now, so I can't tell...
right, that was at the very end of the feature request tracker :)
http://sourceforge.net/tracker/index.php?func=detail&aid=601016&grou... [ 601016 ] Setup Script (for 3.0)
But no lines of code yet, or maybe on the devel system of rabus? :)
cheers, Olivier
Olivier Mueller a écrit:
Our "config.inc.php" is getting bigger and bigger and is quite complex, especially for "newbies".
What about a simple ~/setup.php which would ask a few simple questions and generate a basic config.inc.php (and why not create/upgrade the 'phpmyadmin' DB), or a perl script like in squirrelmail?
step1: generate a new config.inc.php step2: generate config.inc.php based on an older version -> probably quite (too?) complex, the current file is not really 'parser-friendly'
Wouldn't it be great to have something like that for the 2.6.0 release? :)
I suggest to do this after 2.6.0. Our goal for 2.6.0 was mysqli and the new charset support. But lots of bugs have been reported and take time to fix.
About the installer, we will have to be compatible with servers in PHP safe mode (offer to download the resulting config file).
Marc
regards, Olivier
On Mon, 2004-04-05 at 09:08 -0400, Marc Delisle wrote:
I suggest to do this after 2.6.0. Our goal for 2.6.0 was mysqli and the new charset support. But lots of bugs have been reported and take time to fix.
Sure, bug fixing is the priority number 1. And about mysqli, are you still around Marcel ? :-)
About the installer, we will have to be compatible with servers in PHP safe mode (offer to download the resulting config file).
Well, it doesn't have to be 100% full-featured at the begining: displaying the result as text file in the browser would already be fine, and then copy/paste -> config.inc.php.
If you already have some code or ideas, please post them under http://sourceforge.net/tracker/index.php?func=detail&aid=601016&grou...
cheers, Olivier