Page MenuHomePhabricator

Unable to Install
Closed, ResolvedPublic

Description

Author: quick.webmaster

Description:
When I attempt to Install Mediawiki I get this after typing in all information:

Checking environment...

  • PHP 4.3.2: ok
  • PHP server API is apache2filter; using ugly URLs (index.php?title=Page_Title)
  • Have XML / Latin1-UTF-8 conversion support.
  • PHP's memory_limit is 32M. If this is too low, installation may fail!
  • Have zlib support; enabling output compression.
  • Neither Turck MMCache nor eAccelerator are installed, can't use object

caching functions

Warning: file_exists(): open_basedir restriction in effect.

File(/usr/bin/gdiff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

Warning: file_exists(): open_basedir restriction in effect.

File(/usr/bin/diff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

Warning: file_exists(): open_basedir restriction in effect.

File(/opt/csw/bin/gdiff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

Warning: file_exists(): open_basedir restriction in effect.

File(/opt/csw/bin/diff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

Warning: file_exists(): open_basedir restriction in effect.

File(/usr/gnu/bin/gdiff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

Warning: file_exists(): open_basedir restriction in effect.

File(/usr/gnu/bin/diff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

Warning: file_exists(): open_basedir restriction in effect.

File(/usr/sfw/bin/gdiff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

Warning: file_exists(): open_basedir restriction in effect.

File(/usr/sfw/bin/diff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

Warning: file_exists(): open_basedir restriction in effect.

File(/usr/X11R6/bin/gdiff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

Warning: file_exists(): open_basedir restriction in effect.

File(/usr/X11R6/bin/diff3) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 1315

  • GNU diff3 not found.

    Warning: file_exists(): open_basedir restriction in effect.

File(/usr/bin/convert) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 333

Warning: file_exists(): open_basedir restriction in effect.

File(/usr/local/bin/convert) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 333

Warning: file_exists(): open_basedir restriction in effect.

File(/sw/bin/convert) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 333

Warning: file_exists(): open_basedir restriction in effect.

File(/opt/local/bin/convert) is not within the allowed path(s):
(/var/www/vhosts/el-nath.net/httpdocs:/tmp) in
/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 333

  • Found GD graphics library built-in, image thumbnailing will be enabled if

you enable uploads.

  • Installation directory: /var/www/vhosts/el-nath.net/httpdocs/forum/guide
  • Script URI path: /forum/guide
  • Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider

changing it manually.

  • PHP is linked with old MySQL client libraries. If you are using a MySQL

4.1 server and have problems connecting to the database, see
http://dev.mysql.com/doc/mysql/en/old-client.html for help.

  • Trying to connect to MySQL on localhost as root... Fatal error: Undefined class name 'database' in

/var/www/vhosts/el-nath.net/httpdocs/forum/guide/config/index.php on line 476


Version: 1.11.x
Severity: critical
OS: Linux
URL: http://el-nath.net/forum/guide/config/index.php

Details

Reference
bz3846

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 8:53 PM
bzimport set Reference to bz3846.
bzimport added a subscriber: Unknown Object (MLST).

You have a broken PHP configuration. Please unbreak your configuration and try
again.

quick.webmaster wrote:

(In reply to comment #1)

You have a broken PHP configuration. Please unbreak your configuration and try
again.

What do I do to set the correct configuration?

janrei.g wrote:

proposed patch to prevent the warnings from being shown

Why are these warnings a sign of a broken PHP configuration? I don't think that you can rely on the user having access to /usr/bin/, see for example shared hosting environments.

I have attached a patch for this problem that should make the warnings disappear.

Attached:

aaron.schulz wrote:

content hidden as private in Bugzilla