[Mediawiki-l] Mediawiki installation error.

Thomas Schweikle tps at vr-web.de
Fri Feb 18 16:15:13 UTC 2011


    * PHP 5.3.2-1ubuntu4.7 installed
    * Found database drivers for: PostgreSQL
    * PHP server API is apache2handler; ok, using
      pretty URLs (index.php/Page_Title)
    * Have XML / Latin1-UTF-8 conversion support.
    * Session save path (/var/lib/php5) appears to be valid.
    * PHP's memory_limit is 128M.
    * Couldn't find Turck MMCache, eAccelerator, APC or
      XCache; cannot use these for object caching.
    * Found GNU diff3: /usr/bin/diff3.
    * Found ImageMagick: /usr/bin/convert; image
      thumbnailing will be enabled if you enable uploads.
    * Installation directory: /var/lib/mediawiki
    * Script URI path: /wiki
    * Installing MediaWiki with php file extensions
    * Environment checked. You can install MediaWiki.
    *

      Generating configuration file...
    * Notice: Constant MW_INSTALL_PATH already defined in
      /var/lib/mediawiki/config/index.php(767) : eval()'d
      code on line 19 Database type: PostgreSQL
    * Loading class: DatabasePostgres
    * Attempting to connect to database "wikidb" as
      "mediawiki"... error: No database connection
    * Checking the version of Postgres... Warning:
      pg_version() expects parameter 1 to be resource,
      boolean given in /usr/share/mediawiki/includes
      /db/DatabasePostgres.php on line 1078 FAILED.
      Required version is 8.1. You have 7.3 or earlier

postgres is 8.4.x
user "mediawiki" has grants to create databases.
user "mediawiki" can connect to the database "wikidb" if he uses
"psql" from the commandline in a shell:

psql -h dbsrv.example.com -U mediawiki -W wikidb

succeeds. Any idea where to look why this doesn't work??

-- 
Thomas




More information about the MediaWiki-l mailing list