Thread:Project:Support desk/Warning: ini set() has been disabled for security reasons in database.php/reply

Hi!

Can you please check, what the content of the file /home/user/public_html/wiki/includes/db/Database.php is on lines 648 and 655?

There must be ini_set calls.

The problem is that your host has disabled that function so that MediaWiki cannot use it.

I see two possible solutions - or well: three:
 * Point your host to the problem telling them that disabling this function makes MediaWiki not run on the server. Maybe they are so kind to allow the function.
 * You could adjust PHP's level of error_reporting so that PHP does no longer show you these warnings. However, this will not solve the issue, it will only hide the warning. Should these ini_set calls really be needed (to check that you should know what it says in these lines 648 and 655), your system will still not work correctly afterwards.
 * If all else does not help, change to a host, who allows enough things, so that MediaWiki can be run without problems (I have btw. never seen a host disallowing ini_set calls...).