[arch-general] MediaWiki installation, Creating sqlite database directory.

Jordan Windsor jordanw2 at gmail.com
Wed Apr 11 13:29:43 EDT 2012


On Thu, Apr 12, 2012 at 1:31 AM, Jordan Windsor <jordanw2 at gmail.com> wrote:
> Hello,
> I lost my LocalSettings.php file so I'm going through the MediaWiki
> installation again, I'm up to the "Connect to database" stage, I enter
> "/srv/http/data" for the database directory and "testdb" as the name,
> after I click continue it displays a error message saying it can't
> create the directory because the parent directory isn't writable, I've
> already tried setting all involved directories to 777 but it still
> displays the same error message.
>
>
> /srv:
> total 1
> drwxr-xr-x  4 root root  96 Apr  8 04:18 .
> drwxr-xr-x 23 root root 536 Apr  8 04:17 ..
> dr-xr-xr-x  2 root ftp   48 Apr  2 09:11 ftp
> drwxr-xr-x  4 http http 136 Apr 12 01:25 http
>
> /srv/http:
> total 4
> drwxr-xr-x 4 http http 136 Apr 12 01:25 .
> drwxr-xr-x 4 root root  96 Apr  8 04:18 ..
> drwxrwxrwx 2 http http  48 Apr 12 01:25 data
> drwx------ 2 root root  80 Apr 12 00:29 data.orig
> -rw-r--r-- 1 http http  84 Jan 17 00:43 index.html
>
> /srv/http/data:
> total 0
> drwxrwxrwx 2 http http  48 Apr 12 01:25 .
> drwxr-xr-x 4 http http 136 Apr 12 01:25 ..
>
> Thanks.

Problem solved, I needed to add "/srv/http/" to the open_basedir in
the httpd config, I should have also checked the error_log from
Apache.


More information about the arch-general mailing list