From: Reini U. <ru...@x-...> - 2006-06-12 11:06:51
|
2006/6/12, Manuel Vacelet <man...@gm...>: > 2006/6/11, jobst m=FCller <Fl...@we...>: > > by the way: all i have to do is the fourth step of the installation-adv= ices: > > > > ..... 4. Edit the DATABASE settings in config/config.ini to reflect you= r 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 su= re that i have an ADODB layer.... dont look at config-default.ini, look at config/config.ini and better read the INSTALL docs first. > > 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 - w= hat 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. DATABASE_TYPE =3D ADODB > > is the config/config-default.ini the correct file - am i right if i cha= nge 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). almost right. you have to copy config/config-dist.ini to config/config.ini but better start the browser with the directory of phpwiki and run configurator.php then. this will create config/config.ini. you have to install apache with php, and point your browser to the directory with phpwiki. > 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. --=20 Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/ |