Last modified: 2011-12-01 14:56:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5846, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3846 - Unable to Install
Unable to Install
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.11.x
All Linux
: Highest critical (vote)
: ---
Assigned To: Nobody - You can work on this!
http://el-nath.net/forum/guide/config...
: patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-31 13:49 UTC by David
Modified: 2011-12-01 14:56 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
proposed patch to prevent the warnings from being shown (767 bytes, patch)
2007-09-06 19:58 UTC, janrei.g
Details

Description David 2005-10-31 13:49:20 UTC
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
Comment 1 Brion Vibber 2005-10-31 19:46:43 UTC
You have a broken PHP configuration. Please unbreak your configuration and try 
again.
Comment 2 David 2005-10-31 22:48:04 UTC
(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?
Comment 3 janrei.g 2007-09-06 19:58:52 UTC
Created attachment 4084 [details]
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.
Comment 4 Rob Church 2007-09-06 20:08:39 UTC
Fixed in r25599.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links