From thub at iname.com Thu Jun 4 23:19:47 2015 Content-Type: multipart/mixed; boundary="===============5705617723185738941==" MIME-Version: 1.0 From: Ira Malinich To: epel-devel at lists.fedoraproject.org Subject: mediawiki isn't working "out of the box" Date: Wed, 04 Mar 2009 16:40:22 -0700 Message-ID: <49AF1166.6030409@iname.com> --===============5705617723185738941== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Forgive me if this is plain ignorance, but I've been trying to use the = EPEL mediawiki package with CentOS 5.2 and I'm either missing some = documentation or something isn't right here. According to the package = description all I have to do is copy the /var/www/wiki directory to = someplace like /var/www/html/techwiki for example. However, it looks = like it's missing includes, which makes sense since this is all there is = in /var/www/wiki: drwxr-xr-x 2 apache apache 4096 Mar 4 13:39 config drwxr-xr-x 2 root root 4096 Oct 1 14:51 images lrwxrwxrwx 1 root root 30 Mar 4 13:39 index.php -> /usr/share/mediaw= iki/index.php Here are the errors I'm getting when I point a browser to = http://myserver/techwiki/: [Wed Mar 04 15:03:15 2009] [error] [client 192.168.6.10] PHP Warning: = require_once(/var/www/html/techwiki/install-utils.inc) [function.require-once]: failed to open = stream: No such file or directory in = /var/www/html/techwiki/config/index.php on line 39 [Wed Mar 04 15:03:15 2009] [error] [client 192.168.6.10] PHP Fatal = error: require_once() [function.require]: = Failed opening required '/var/www/html/techwiki/install-utils.inc' = (include_path=3D'.:/usr/share/pear:/usr/share/php') in = /var/www/html/techwiki/config/index.php on line 39 Am I the only one seeing this? Should I file a bug? - Ira -- = "Because of the (at least) critical success of the television show = Arrested Development, the band Arrested Development, from a long time = ago, has enjoyed a resurgence and new found interest that could only be = rivaled by a band from a long time ago called Desperate Housewives or = perhaps WifeSwap." =E2=80=94 David Cross --===============5705617723185738941==-- From adam.stokes at gmail.com Thu Jun 4 23:19:47 2015 Content-Type: multipart/mixed; boundary="===============2955370277055142017==" MIME-Version: 1.0 From: Adam Stokes To: epel-devel at lists.fedoraproject.org Subject: Re: mediawiki isn't working "out of the box" Date: Wed, 04 Mar 2009 22:05:55 -0500 Message-ID: In-Reply-To: 49AF1166.6030409@iname.com --===============2955370277055142017== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable could selinux be causing apache to not access the symlinked directory? On Wed, Mar 4, 2009 at 6:40 PM, Ira Malinich wrote: > =C2=A0Forgive me if this is plain ignorance, but I've been trying to use = the EPEL > mediawiki package with CentOS 5.2 and I'm either missing some documentati= on > or something isn't right here. According to the package description all I > have to do is copy the /var/www/wiki directory to someplace like > /var/www/html/techwiki for example. However, it looks like it's missing > includes, which makes sense since this is all there is in /var/www/wiki: > > drwxr-xr-x 2 apache apache 4096 Mar =C2=A04 13:39 config > drwxr-xr-x 2 root =C2=A0 root =C2=A0 4096 Oct =C2=A01 14:51 images > lrwxrwxrwx 1 root =C2=A0 root =C2=A0 =C2=A0 30 Mar =C2=A04 13:39 index.ph= p -> > /usr/share/mediawiki/index.php > > > Here are the errors I'm getting when I point a browser to > http://myserver/techwiki/: > > [Wed Mar 04 15:03:15 2009] [error] [client 192.168.6.10] PHP Warning: > require_once(/var/www/html/techwiki/install-utils.inc) [ href=3D'function.require-once'>function.require-once]: failed to open > stream: No such file or directory in /var/www/html/techwiki/config/index.= php > on line 39 > [Wed Mar 04 15:03:15 2009] [error] [client 192.168.6.10] PHP Fatal error: > require_once() [function.require]: Failed > opening required '/var/www/html/techwiki/install-utils.inc' > (include_path=3D'.:/usr/share/pear:/usr/share/php') in > /var/www/html/techwiki/config/index.php on line 39 > > Am I the only one seeing this? Should I file a bug? > > - Ira > > -- > "Because of the (at least) critical success of the television show Arrest= ed > Development, the band Arrested Development, from a long time ago, has > enjoyed a resurgence and new found interest that could only be rivaled by= a > band from a long time ago called Desperate Housewives or perhaps WifeSwap= ." > =E2=80=94 David Cross > > _______________________________________________ > epel-devel-list mailing list > epel-devel-list(a)redhat.com > https://www.redhat.com/mailman/listinfo/epel-devel-list > -- = ( adam stokes ) || ( adam.stokes(a)gmail.com ) --===============2955370277055142017==-- From mastahnke at gmail.com Thu Jun 4 23:19:47 2015 Content-Type: multipart/mixed; boundary="===============0173501778992727620==" MIME-Version: 1.0 From: Michael Stahnke To: epel-devel at lists.fedoraproject.org Subject: Re: mediawiki isn't working "out of the box" Date: Thu, 05 Mar 2009 09:24:01 -0600 Message-ID: <7874d9dd0903050724u1e861ef1sc1eb3a5c5ee64cb1@mail.gmail.com> In-Reply-To: b049261b0903041905p6bd2b275j7e6e7e5fa6bec3f4@mail.gmail.com --===============0173501778992727620== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable I've had the same experience. You have to do quite a bit of finagling with symlinks and apache settings to make things work. At work I documented the entire process I ran, but alas, I am at home today. Basically, you need symlink nearly all the .php and .php5 files, and most directories into the webroot where you want to have a wiki. Also, permissions of certain directories will need to be modified depending on where you are in the install/setup/configuration. I'll try to post something tomorrow from work. stahnma --===============0173501778992727620==-- From mastahnke at gmail.com Thu Jun 4 23:19:47 2015 Content-Type: multipart/mixed; boundary="===============1677215538970190269==" MIME-Version: 1.0 From: Michael Stahnke To: epel-devel at lists.fedoraproject.org Subject: Re: mediawiki isn't working "out of the box" Date: Fri, 06 Mar 2009 16:55:37 -0600 Message-ID: <7874d9dd0903061455g5ca59ce1h1e4794520d5683d3@mail.gmail.com> In-Reply-To: 7874d9dd0903050724u1e861ef1sc1eb3a5c5ee64cb1@mail.gmail.com --===============1677215538970190269== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In a nutshell, here's most of what I did. WIKINAME=3Dsyswiki mkdir -p /var/www/wikifarm mkdir -p /var/www/wikifarm/$WIKINAME cd /var/www/wikifarm/$WIKINAME cp -f -pur /var/www/wiki/* . ln -s /usr/share/mediawiki/*.php . ln -s /usr/share/mediawiki/*.php5 . ln -s /usr/share/mediawiki/extensions . ln -s /usr/share/mediawiki/includes . ln -s /usr/share/mediawiki/skins . ln -s /usr/share/mediawiki/languages . ln -s /usr/share/mediawiki/locale . ln -s /usr/share/mediawiki/serialized . ln -s /usr/share/mediawiki/maintenance/ . chown -R apache:apache * unset WIKINAME There's more to it than that, but that's most of it. (And stuff I don't need to sanitize to send out). stahnma --===============1677215538970190269==-- From smooge at gmail.com Thu Jun 4 23:19:47 2015 Content-Type: multipart/mixed; boundary="===============3281437469996134268==" MIME-Version: 1.0 From: Stephen John Smoogen To: epel-devel at lists.fedoraproject.org Subject: Re: mediawiki isn't working "out of the box" Date: Fri, 06 Mar 2009 16:03:13 -0700 Message-ID: <80d7e4090903061503x5524da0bi9447da6e805ba948@mail.gmail.com> In-Reply-To: 7874d9dd0903061455g5ca59ce1h1e4794520d5683d3@mail.gmail.com --===============3281437469996134268== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Fri, Mar 6, 2009 at 3:55 PM, Michael Stahnke wro= te: > In a nutshell, here's most of what I did. > > WIKINAME=3Dsyswiki > mkdir -p /var/www/wikifarm > mkdir -p /var/www/wikifarm/$WIKINAME > cd /var/www/wikifarm/$WIKINAME > cp -f -pur /var/www/wiki/* . > ln -s /usr/share/mediawiki/*.php . > ln -s /usr/share/mediawiki/*.php5 . > ln -s /usr/share/mediawiki/extensions . > ln -s /usr/share/mediawiki/includes . > ln -s /usr/share/mediawiki/skins . > ln -s /usr/share/mediawiki/languages . > ln -s /usr/share/mediawiki/locale . > ln -s /usr/share/mediawiki/serialized . > ln -s /usr/share/mediawiki/maintenance/ . > chown -R apache:apache * > unset WIKINAME My brain isnt' working does that chown change the permissions of the linked items so that they are writable by the base process? Wouldn't it be better to just copy the files then > There's more to it than that, but that's most of it. =C2=A0(And stuff I > don't need to sanitize to send out). > > stahnma > > _______________________________________________ > epel-devel-list mailing list > epel-devel-list(a)redhat.com > https://www.redhat.com/mailman/listinfo/epel-devel-list > -- = Stephen J Smoogen. -- BSD/GNU/Linux How far that little candle throws his beams! So shines a good deed in a naughty world. =3D Shakespeare. "The Merchant of Venice" --===============3281437469996134268==-- From mmcgrath at redhat.com Thu Jun 4 23:19:48 2015 Content-Type: multipart/mixed; boundary="===============2159308260336297480==" MIME-Version: 1.0 From: Mike McGrath To: epel-devel at lists.fedoraproject.org Subject: Re: mediawiki isn't working "out of the box" Date: Sun, 08 Mar 2009 16:07:20 -0500 Message-ID: In-Reply-To: 80d7e4090903061503x5524da0bi9447da6e805ba948@mail.gmail.com --===============2159308260336297480== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Fri, 6 Mar 2009, Stephen John Smoogen wrote: > On Fri, Mar 6, 2009 at 3:55 PM, Michael Stahnke w= rote: > > In a nutshell, here's most of what I did. > > > > WIKINAME=3Dsyswiki > > mkdir -p /var/www/wikifarm > > mkdir -p /var/www/wikifarm/$WIKINAME > > cd /var/www/wikifarm/$WIKINAME > > cp -f -pur /var/www/wiki/* . > > ln -s /usr/share/mediawiki/*.php . > > ln -s /usr/share/mediawiki/*.php5 . > > ln -s /usr/share/mediawiki/extensions . > > ln -s /usr/share/mediawiki/includes . > > ln -s /usr/share/mediawiki/skins . > > ln -s /usr/share/mediawiki/languages . > > ln -s /usr/share/mediawiki/locale . > > ln -s /usr/share/mediawiki/serialized . > > ln -s /usr/share/mediawiki/maintenance/ . > > chown -R apache:apache * > > unset WIKINAME > > > My brain isnt' working does that chown change the permissions of the > linked items so that they are writable by the base process? Wouldn't > it be better to just copy the files then > > I think it was initially packaged this way to allow people to easily run multiple installs of mediawiki on the same box, but also allow for a simple "yum update" of them all. -Mike --===============2159308260336297480==--