I am attempting to install the new Mediawiki 1.5beta1 on a server belonging to a group I am part of. After uploading the files, I get this message:
Warning: ini_set() has been disabled for security reasons in /data/members/paid/t/h/the-5.nl/htdocs/www/stneg/wiki/config/index.php on line 118
Warning: main(includes/Defines.php): failed to open stream: No such file or directory in /data/members/paid/t/h/the-5.nl/htdocs/www/stneg/wiki/config/index.php on line 122
Fatal error: main(): Failed opening required 'includes/Defines.php' (include_path='.:/data/apache/php/mmp_lib:/data/session') in /data/members/paid/t/h/the-5.nl/htdocs/www/stneg/wiki/config/index.php on line 122
----- I'm not fluent in PHP, but a bit of research suggests to me that the administrator needs to enable ini_set(). When I e-mailed him, he replied that it was a permissions problem, and that it was something I needed to do because I uploaded the files.
What needs to be done? More precisely, how do I or the admin go about doing it?
Thanks in advance, -Chops
Chops wrote:
I'm not fluent in PHP, but a bit of research suggests to me that the administrator needs to enable ini_set(). When I e-mailed him, he replied that it was a permissions problem, and that it was something I needed to do because I uploaded the files.
ini_set, and all other PHP functions, are enabled by default.
It would only be disabled if someone has explicitly disabled it in the configuration: either the global php.ini, or in the web server configuration somewhere. That could be in the global httpd.conf or other config file, or potentially in an .htaccess file somehwere in your directory tree.
See: http://www.php.net/manual/en/configuration.php http://www.php.net/manual/en/configuration.changes.php
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org