+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Help installing a mediawiki

  1. #1
    callumacrae's Avatar
    callumacrae is offline not alex mac callumacrae is just really nice
    Join Date
    Dec 2007
    Location
    Wellesbourne, England
    Posts
    5,162

    Help installing a mediawiki

    I'm installing a media wiki, but when ever I try to access cofig, it says:

    Warning: shell_exec() has been disabled for security reasons in /home/alexmac/public_html/tutorials/mediawiki-1.12.0/config/index.php on line 1822
    And that is the last thing I see in the source code as well.

    My PHP version is intermediate, but I don't know much PHP, and so I don't know what to do.

    Please can I have some help?

    Thanks in advance.
    I can customise your phpBB board. Send me a PM.
    lynxphp - info, tutorials and scripts
    "A forum post should be like a skirt; long enough to cover the subject but short enough to keep things interesting."

  2. #2
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Help installing a mediawiki

    It is what it says, that function has been disabled by x10 staff for security reasons.

    try
    PHP Code:
    <?php
    phpinfo
    ();
    ?>
    And you'll see this somewhere (for the intermidate version):
    suhosin.executor.func.blacklist
    passthru, leak, listen, diskfreespace, link, dl, exec, system, source, fpaththru, virtual, posix_ctermid, posix_getcwd, posix_getegid, posix_getgrnam, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getppid, posix_getpwnam, posix_getrlimit, posix_getsid, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_ttyname, proc_open, proc_close, proc_get_status, proc_nice, proc_terminate, ini_alter, mb_send_mail, proc_open, pfsockopen, openlog, syslog, apache_child_terminate, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, virtual, shell_exec

    So you'll never get this function to work.

    Possible solutions:
    - Maybe it is allowed in the advanced php version? (Hint to some kind mod ^^)
    - Try to find a way to do the same with a different function.
    This is what php.net has to say about shell_exec().

    I hope I was able to help you,
    Marshian
    Real programmers don't document their code - if it was hard to write, it should be hard to understand.

  3. #3
    callumacrae's Avatar
    callumacrae is offline not alex mac callumacrae is just really nice
    Join Date
    Dec 2007
    Location
    Wellesbourne, England
    Posts
    5,162

    Re: Help installing a mediawiki

    Well, I know that kllctcat has a mediawiki on his website, but he is a moderator, so maybe they have different settings.
    Isn't it meant to be really hard to get advanced PHP though?

    The strange thing is, is that on line 1822 I can't see anything saying shell_exec()
    I can't find it anywhere in the file.
    I can customise your phpBB board. Send me a PM.
    lynxphp - info, tutorials and scripts
    "A forum post should be like a skirt; long enough to cover the subject but short enough to keep things interesting."

  4. #4
    TechAsh's Avatar
    TechAsh is offline Retired TechAsh is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    UK
    Posts
    5,853

    Re: Help installing a mediawiki

    I have MediaWiki installed and running so it is posible, but I have the Advanced PHP version.
    You could try to request an upgrade, and see if it will be accepted. Or you could try a different Wiki system (there are many out there including pmwiki, DokuWiki and WikkaWiki).
    Last edited by TechAsh; 04-22-2008 at 03:23 PM.
    Useful Links:
    Terms of Service | Server News | Buy a Domain
    Free Domains: co.cc | Dot.tk -- Free File Storage: Dropbox -- Website Monitoring: Service Uptime


    My Websites:
    Earthtime Games & TechAsh's Blog

  5. #5
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Help installing a mediawiki

    Alex, when I was looking for info about your problem, I found out shell_exec() is connected to the operator ` (as in ò, ì, à).
    The code
    PHP Code:
    $string shell_exec("command"); 
    is the same as saying
    PHP Code:
    $string = `command`; 
    And as I said before, maybe it does work with the advanced version. (once more, hinting to some kind mod)
    and it's always worth trying to get it ;-)

    Marshian
    Real programmers don't document their code - if it was hard to write, it should be hard to understand.

  6. #6
    Jarryd's Avatar
    Jarryd is offline Community Advocate Jarryd has a spectacular aura about
    Join Date
    Nov 2007
    Location
    Darwin, Australia
    Posts
    5,531

    Re: Help installing a mediawiki

    The best thing to do would be to post a thread in free hosting support about requesting an upgrade to advanced PHP for installing media wiki.

    Corey or Brandon or Bryon would then look into it and let you know a reply.
    Jarryd Sullivan
    █ 888-X10-9668 - Jarryd[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  7. #7
    callumacrae's Avatar
    callumacrae is offline not alex mac callumacrae is just really nice
    Join Date
    Dec 2007
    Location
    Wellesbourne, England
    Posts
    5,162

    Re: Help installing a mediawiki

    Thanks for all the help, I have asked for an upgrade to advanced PHP. I just hope they upgrade!
    Last edited by callumacrae; 04-23-2008 at 11:36 AM.
    I can customise your phpBB board. Send me a PM.
    lynxphp - info, tutorials and scripts
    "A forum post should be like a skirt; long enough to cover the subject but short enough to keep things interesting."

  8. #8
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: Help installing a mediawiki

    it's fun because I have mediawiki installed but I never got that error. But I may have a old version... Try to comment that line. In some cases it works.

  9. #9
    hopper's Avatar
    hopper is offline x10 Sophmore hopper is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    219

    Re: Help installing a mediawiki

    have you tried asking for a less strict php version on your hosting cp?

  10. #10
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Help installing a mediawiki

    Quote Originally Posted by hopper View Post
    have you tried asking for a less strict php version on your hosting cp?
    that is what we were talking about the whole time...
    the advanced version is the less strict version. he's now requesting an upgrade.
    Real programmers don't document their code - if it was hard to write, it should be hard to understand.

+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 01-26-2008, 12:22 PM
  2. Installing MediaWiki
    By shobz in forum Computers & Technology
    Replies: 5
    Last Post: 12-01-2007, 06:53 AM
  3. Trouble installing MediaWiki... help?
    By TheCorvetteKid in forum Free Hosting
    Replies: 9
    Last Post: 08-30-2007, 09:11 AM
  4. Mediawiki to gather infos and tips
    By Tyrael in forum Feedback and Suggestions
    Replies: 8
    Last Post: 08-16-2007, 10:01 PM
  5. installing
    By Vietkid58 in forum Free Hosting
    Replies: 15
    Last Post: 04-22-2006, 10:29 PM

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