Activity Stream
48,167 MEMBERS
6687 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1.     
    #1
    Member

    Default how to enable shell_exec

    Hey Guys
    I wanted to ask you how to enable shell_exec on a server
    i have a dedicated server and have a kloxo panel i remove the shell_exec from the not allowed in the php.ini what elese to do to make it work
    Thanks
    msk19994 Reviewed by msk19994 on . how to enable shell_exec Hey Guys I wanted to ask you how to enable shell_exec on a server i have a dedicated server and have a kloxo panel i remove the shell_exec from the not allowed in the php.ini what elese to do to make it work Thanks Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    eotips.com
    go in php setting remove block function shell_exec, restart httpd done

  4.     
    #3
    Banned
    php settings are located in php.ini right? (correct me if i`m wrong)

  5.     
    #4
    Member
    yes i have done this any thing else
    and if done how to check if its working

  6.     
    #5
    Member
    Website's:
    eotips.com
    nope there is gui in kloxo also

  7.     
    #6
    Member
    gui in kloxo also ??????
    explain ?

  8.     
    #7
    Member
    Website's:
    eotips.com
    i don't know exactly where it located used time ago. search in kloxo admin page u will find easily

  9.     
    #8
    Member
    I don't want to say this again, freaking backup your files before you edit a single letter of your files first, then proceed with the work.

    Below are the exact steps to enable a particular PHP function:

    1. Remove all functions from disable_functions in php.ini
    2. Add functions in php.ini suhosin.executor.func.blacklist = “” those you want to disable globally.

    After that in the virtual host section of a domain you can add below code to enable a function only for one domain:

    <VirtualHost 127.0.0.1>
    ………..
    <IfModule mod_php5.c>
    php_admin_value suhosin.executor.func.blacklist = “shell_exec”
    </IfModule>
    ……
    </VirtualHost>

    In this example shell_exec has been enabled for the VirtualHost.

  10.     
    #9
    Member
    ^ i already saw that when googled can u explain more clearly that like i rRemove all functions from disable_functions in php.ini
    and leave it blank ''
    Add functions in php.ini suhosin.executor.func.blacklist = “” those you want to disable globally.
    so in the end of php.ini i add this code
    suhosin.executor.func.blacklist = “”
    those you want to disable globally.
    i dont understand this
    and
    <VirtualHost 127.0.0.1>
    ………..
    <IfModule mod_php5.c>
    php_admin_value suhosin.executor.func.blacklist = “shell_exec”
    </IfModule>
    ……
    </VirtualHost>

    In this example shell_exec has been enabled for the VirtualHost.
    what the heck is the VirtualHost section please explain ?

  11.     
    #10
    Member
    Quote Originally Posted by msk19994 View Post
    ^ i already saw that when googled can u explain more clearly that like i rRemove all functions from disable_functions in php.ini
    and leave it blank ''

    so in the end of php.ini i add this code
    suhosin.executor.func.blacklist = “”

    i dont understand this
    and

    what the heck is the VirtualHost section please explain ?
    You should have suhosin installed for this to work.

    At your disable_functions line on your php.ini file you should see this:
    Code: 
    disable_functions = show_source,system,shell_exec,passthru,exec,phpinfo,proc_open
    or something quite similar to that, Replace that line with this:

    Code: 
    disable_functions = show_source,system,passthru,phpinfo,proc_open;


    After that, restart Apache by executing the following command:

    Code: 
    service httpd restart
    The virtual host thing is needed only if you want to apply those rules for a single Domain

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. should i enable cloudflare?
    By ::ALEX:: in forum Webmaster Discussion
    Replies: 19
    Last Post: 12th Jul 2012, 08:04 PM
  2. need help to enable .htaccess in vps
    By okpaa in forum Server Management
    Replies: 3
    Last Post: 16th May 2011, 11:12 AM
  3. [Hiring] Someone to enable RAR/unRAR on my RL
    By kohkindachi in forum Completed Transactions
    Replies: 8
    Last Post: 2nd Nov 2010, 01:22 PM
  4. How To Enable Mod_Rewrit in VPS?
    By Dan.Crew in forum Server Management
    Replies: 4
    Last Post: 26th Oct 2010, 06:36 AM
  5. Enable Rep system?
    By sewer in forum Webmaster Discussion
    Replies: 1
    Last Post: 2nd Sep 2009, 10:25 PM

Tags for this Thread

BE SOCIAL