Page MenuHomePhabricator

Installation is impossible ? /config/index.php get fatal error ?
Closed, DeclinedPublic

Description

Author: david.coll

Description:
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 http://obscursa.jexiste.fr/mediawiki/

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.


Version: 1.5.x
Severity: normal
URL: http://obscursa.jexiste.fr/mediawiki/

Details

Reference
bz4245

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:58 PM
bzimport set Reference to bz4245.
bzimport added a subscriber: Unknown Object (MLST).

david.coll wrote:

I forgot to say that /config/ directory is set to attribute 777.

robchur wrote:

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. :(

MediaWiki cant be installed on your host.

A better explanation is at:
http://mail.wikipedia.org/pipermail/mediawiki-l/2005-July/005832.html

You can eventually hack the code source and add the full path:
http://meta.wikimedia.org/wiki/Running_MediaWiki_on_Sourceforge.net#Disabled_ini_set.28.29

Closing as worksforme.