[dokuwiki] Re: Installation instructions not complete?

  • From: "sports tg" <sportstg@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 21 Jun 2006 00:56:22 +0100

Hi Chris,

I leave in the steps I took, in case it helps you with your script.

On 20/06/06, Chris Smith <chris@xxxxxxxxxxxxx > wrote:

I'd recommend you change the permission of the conf directory to allow
the webserver to write/create files within it.  So,

chown nobody:nogroup dokuwiki/conf
chmod 775 dokuwiki/conf


I did this and then reran your install with no change.

either that or you should create an empty local.php and give the
webserver permission to modify it.


Following the install instructions I have always created this file. It
sounds like the instructions need to be updated to give this permission? I
was windering if I should create it before trying your install...but
then....

What user/group does your webserver run under. My guess is it doesn't
run under apache:apache.  If its something else (e.g. nobody:nogroup)
you need to alter the su chown command accordingly.


Bill Jones was helping me with this last time.
[tom@localhost data]$ su - -c "lsof | grep -i tcp | grep http" gives :
httpd2     2102    root    3u  IPv4       4707                TCP *:https
(LISTEN)
httpd2     2102    root    4u  IPv4       4710                TCP *:http
(LISTEN)
httpd2     2110  apache    3u  IPv4       4707                TCP *:https
(LISTEN)
httpd2     2110  apache    4u  IPv4       4710                TCP *:http
(LISTEN)
httpd2     2112  apache    3u  IPv4       4707                TCP *:https
(LISTEN)
httpd2     2112  apache    4u  IPv4       4710                TCP *:http
(LISTEN)
httpd2     2113  apache    3u  IPv4       4707                TCP *:https
(LISTEN)
httpd2     2113  apache    4u  IPv4       4710                TCP *:http
(LISTEN)
. ....

I tried what he said to do last time
su - root -c "chown -R  apache:apache  /var/www/html/dokuwiki"

and reran the installl and it said it was good.

All works now.

After all the above should the install instructions be changed? Well I guess
they might be redundant when your scrpt is released.

Thanks a lot.

Tom.

Other related posts: