PHP problem with Wiki

Status
Not open for further replies.

neilgravir

New Member
Messages
30
Reaction score
0
Points
0
Hi,

I've suddenly started getting the error below when trying to upload images to my wiki:


Warning: exec() has been disabled for security reasons in /backups/home/***/public_html/wiki/includes/GlobalFunctions.php on line 1680

Apparantly "exec()" is something to do with a php .ini file that I can't edit because it's shared hosting.

This has only just started happening - it was fine yesterday, so if possible, can someone please turn "exec()" back on? :)

Cheers,
neilgravir
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
exec() runs commands on the system which can be a security break. This was turned off on purpose by one of the admins I bet.

Wait for Corey, Bryon, or Richard to come on.
 

neilgravir

New Member
Messages
30
Reaction score
0
Points
0
Anyone care to fix this? It's been a while and nothing seems to have happened.

neilgravir
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
They did fix it, it was shut off, having on "exec()" is a big security problem, what Wiki are you running.
 

neilgravir

New Member
Messages
30
Reaction score
0
Points
0
If exec() is such a big security problem, why would it be used in MediaWiki, seeing as it Wikipedia and the other big wikis get thousands/millions of visitors every day.
 

Trixter

New Member
Messages
384
Reaction score
0
Points
0
Your Problem:
/backups/home/***/public_html/wiki/includes/GlobalFunctions.php
You need to relink your Wiki directory back to:
/home/***/public_html/wiki/includes/GlobalFunctions.php
I Had this problem but it was with my forum. Im not sure why it happend but it was after the http rebuild Corey had to do.
 
Last edited:

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Trixter said:
Your Problem:
/backups/home/***/public_html/wiki/includes/GlobalFunctions.php
You need to relink your Wiki directory back to:
/home/***/public_html/wiki/includes/GlobalFunctions.php
I Had this problem but it was with my forum. Im not sure why it happend but it was after the http rebuild Corey had to do.

There are accounts on "/backups/", most of the new, older accounts.

=======================================================

neilgravir said:
If exec() is such a big security problem, why would it be used in MediaWiki, seeing as it Wikipedia and the other big wikis get thousands/millions of visitors every day.

exec() is fine for sites like Wikipedia because they have dedicated server.

But using exec() on free hosting isnt good because people can abouse it by compiling software and hacking other servers if they know what they were doing due to the fact "exec()" can run almost any linux command avalible.
 
Last edited:
Status
Not open for further replies.
Top