Last modified: 2010-05-15 15:38:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4245 - Installation is impossible ? /config/index.php get fatal error ?
Installation is impossible ? /config/index.php get fatal error ?
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-12-11 07:09 UTC by David Coll
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Description David Coll 2005-12-11 07:09:58 UTC
I get the following error message when /config/index.php is launched for installation:

Warning: ini_set() has been disabled for security reasons 
in /home/.filer4/obscursa/www/mediawiki/config/index.php on line 118

Warning: main(includes/Defines.php): failed to open stream: No such file or directory 
in /home/.filer4/obscursa/www/mediawiki/config/index.php on line 122

Fatal error: main(): Failed opening required 'includes/Defines.php' 
(include_path='.:/usr/share/php/PEAR') in /home/.filer4/obscursa/www/mediawiki/config/index.php on 
line 122

You can try it and see the error message at

Using mediawiki v1.5.3

When using EasyPHP on my local machine (WinXPproSP2), I get no problem installing. The problem may 
be due to the server.
Comment 1 David Coll 2005-12-11 07:13:32 UTC
I forgot to say that /config/ directory is set to attribute 777.
Comment 2 Rob Church 2005-12-11 15:06:08 UTC
Yeah, what's happening is that MediaWiki is attempting to add some items to
PHP's default include path, to ensure they can be located, but your server's PHP
configuration has been tweaked to prevent the function required - ini_set() -
from being used.

I can't remember the solution, if there is one, off the top of my head. :(
Comment 3 Antoine "hashar" Musso (WMF) 2005-12-11 20:03:56 UTC
MediaWiki cant be installed on your host.

A better explanation is at:

You can eventually hack the code source and add the full path:

Closing as worksforme.

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