From: Manuel V. <man...@gm...> - 2006-06-12 08:45:49
|
2006/6/11, jobst m=FCller <Fl...@we...>: > by the way: all i have to do is the fourth step of the installation-advic= es: > > ..... 4. Edit the DATABASE settings in config/config.ini to reflect your = settings. > > a) DATABASE_TYPE should be set to 'SQL' or 'ADODB'. > b) DATABASE_DSN should be set to something like > 'mysql://guest@unix(/var/lib/mysql/mysql.sock)/phpwiki". > (where 'phpwiki' is the mysql database name.) > c) Note that if you set DATABASE_PREFIX to a > non-empty string, you will have to edit > schemas/mysql-initialize.sql before you perform step > three (above). (Sorry.) (You might also edit > schemas/mysql-destroy.sql at the same time, so you > don't forget.) > > yyyyyyyyyyyyyyyyyyyyyyyyyyyy > > the config/config-default.ini has a bunch of options but i am pretty sure= that i have an ADODB layer.... Sure you have it, it's shiped with Phpwiki tarball. It's just a matter of choice for your, do you want to rely on PearDb backend (so choose SQL) or ADODB (so choose ... ADODB). > wha t does mean the statement i c) - my DATABASE is called php_Wiki - wha= t should i take for the prefix!? I would say: nothing. Statment 'c)' is only useful if you are just one DB shared by many application in order to avoid table name conflicts. > is it enough if i set the following lines > > > DATABASE_TYPE =3D dba > DATABASE_PREFIX =3D "" > DATABASE_SESSION_TABLE =3D session > DATABASE_DIRECTORY =3D /tmp > DATABASE_DBA_HANDLER =3D gdbm > DATABASE_TIMEOUT =3D 20 > DATABASE_PERSISTENT =3D false > With these parameters, you won't use your SQL database. > is the config/config-default.ini the correct file - am i right if i chang= e here? guess so!? config/config-default.ini won't change wiki's parameters. The right file is config/config.ini (that you can copy from config/config-default.ini). But I think you should use the graphical configurator shiped with phpwiki. Just unpack phpwiki's tarball in your website and go on this page with your browser. A well documented page will help you to configure your wiki. -- Manuel |