Topic on Project:Support desk

Is escapeshellarg() absolutely necessary for MediaWiki to function

3
86.178.54.108 (talkcontribs)

I have just upgraded my MW installation from 1.8.2 to 1.24.1 and now at the top of some pages I am seeing a lot of:

Warning: escapeshellarg() has been disabled for security reasons in /home/smtkwgqq/public_html/wiki/includes/GlobalFunctions.php on line 2714

Does anyone know if MediaWiki has always needed escapeshellarg?

thanks

Florianschmidtwelzow (talkcontribs)

I don't know, when it was added, but it is always used, when a shell function is executed, so it's essential for all upload actions. Maybe you should ask your provider, why they blocked the access to it :)

88.130.79.177 (talkcontribs)

There basically are two answers - and neither of them is pleasant: Either the host is unable to create a save setup with such functions enabled so that you should better change your host. The other option is that he wants you to pay additionally for this/these function(s). In this case you might want to change to a more reputable host.

Reply to "Is escapeshellarg() absolutely necessary for MediaWiki to function"