From: Reini U. <ru...@x-...> - 2004-06-27 08:18:38
|
Arthaey Angosii schrieb: > I recently downloaded phpwiki-1.3.10 onto my Mandrake 9.2 computer, > running MySQL 4.0.15, PHP (looks like version 4.3.2, maybe... how do I > check?), and Apache2 (mod_perl/1.99_09 Perl/v5.8.1 auth_mysql/1.11 > mod_ssl/2.0.47 OpenSSL/0.9.7b PHP/4.3.2). I have several questions > about installing PhpWiki, and this mailing list seemed the best place > to ask them. So: > > 1. When I extracted the tarball, the files all had user id of 1000 and > group id of 513. I have no such user or group ids defined on my > system. Are these just standard ids for PhpWiki, or do I have a > problem? If the former, what would be some good names to assign to > those numbers? If the latter, what needs to be fixed? I produced the tar on cygwin. The strange id's reflect the strange uid's which the windows OS gives its users: $ id rurban uid=1000(rurban) gid=544(root) Gruppen=544(root),513(phpwiki) The tar format stores the uid and gid numbers with the names. If you don't have those symbolic names on your box the extracted files will get the numeric id's. $ info tar Previous releases had user.group swain.staff > 2. I installed MySQL for use with PhpWiki. I followed the installation > guide and part of the tutorial for MySQL; it appears to be running > fine. INSTALL-mysql tells me to edit index.php's $DBParams -- but > there's no mention of it in my index.php! Grepping for "DBParams" show > that it appears in several lib files, SOAP.php and wiki, but not in > index.php. What happened? we changed the config location from /index.php to config/config.ini with 1.3.10 and didn't update all docs yet. > 3. Supposedly PhpWiki works out of the box -- but what directory > should I set this box in? :) I installed Apache2 so I could use > PhpWiki, thus I'm new to Apache as well. I do have it set up and > successfully serving regular HTML pages (via router port forwarding, > if that matters to PhpWiki). Do I just drop the whole phpwiki-1.3.10 > directory into /var/www and cross my fingers? why not? if you like the phpwiki-user-visible 1.3.10 prefix. I personally prefer a /wiki prefix, and I prefer not to see a index.php (/wiki/index.php/pagename) in the user-visible url. That's why I use the wiki file for which I set the php handler. See the .htaccess and wiki files. > If Apache already has PHP support, do I have to do anything special to turn > it on so that it executes PHP pages? If you serve just index.php not. If another file (such as wiki) you have to. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |