Closed Thread
Results 1 to 8 of 8

Thread: PHP problem with Wiki

  1. #1
    neilgravir is offline x10Hosting Member neilgravir is an unknown quantity at this point
    Join Date
    Jul 2005
    Posts
    15

    Exclamation PHP problem with Wiki

    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

  2. #2
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    Re: PHP problem with Wiki

    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.
    Thanks,
    Brandon Long

  3. #3
    neilgravir is offline x10Hosting Member neilgravir is an unknown quantity at this point
    Join Date
    Jul 2005
    Posts
    15

    Re: PHP problem with Wiki

    Anyone care to fix this? It's been a while and nothing seems to have happened.

    neilgravir

  4. #4
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    Re: PHP problem with Wiki

    They did fix it, it was shut off, having on "exec()" is a big security problem, what Wiki are you running.
    Thanks,
    Brandon Long

  5. #5
    neilgravir is offline x10Hosting Member neilgravir is an unknown quantity at this point
    Join Date
    Jul 2005
    Posts
    15

    Re: PHP problem with Wiki

    WikiMedia 1.9alpha, although it started when I was using 1.82 as well.

  6. #6
    neilgravir is offline x10Hosting Member neilgravir is an unknown quantity at this point
    Join Date
    Jul 2005
    Posts
    15

    Question Re: PHP problem with Wiki

    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.

  7. #7
    Trixter is offline x10 Lieutenant Trixter is an unknown quantity at this point
    Join Date
    Oct 2006
    Posts
    384

    Re: PHP problem with Wiki

    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 by Trixter; 11-23-2006 at 01:54 PM.
    Current:

    Latest:



  8. #8
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    Re: PHP problem with Wiki

    Quote Originally Posted by Trixter
    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.

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

    Quote Originally Posted by neilgravir
    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 by Brandon; 11-23-2006 at 02:15 PM.
    Thanks,
    Brandon Long

Closed Thread

Similar Threads

  1. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  2. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  3. Php and sendmail problem
    By sourabhj in forum Free Hosting
    Replies: 16
    Last Post: 10-27-2006, 10:37 PM
  4. php ad code problem
    By sourabhj in forum Free Hosting
    Replies: 7
    Last Post: 08-22-2006, 08:28 AM
  5. PHP Upload Problem
    By tim... in forum Free Hosting
    Replies: 1
    Last Post: 06-10-2005, 01:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers