Results 1 to 10 of 18
-
9th Mar 2012, 04:42 PM #1OPMember
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
Thanksmsk19994 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
-
9th Mar 2012, 04:46 PM #2MemberWebsite's:
eotips.comgo in php setting remove block function shell_exec, restart httpd done
-
9th Mar 2012, 04:47 PM #3Banned
php settings are located in php.ini right? (correct me if i`m wrong)
-
9th Mar 2012, 04:48 PM #4OPMember
yes i have done this any thing else
and if done how to check if its working
-
9th Mar 2012, 04:48 PM #5MemberWebsite's:
eotips.comnope there is gui in kloxo also
-
9th Mar 2012, 04:49 PM #6OPMember
gui in kloxo also ??????
explain ?
-
9th Mar 2012, 04:51 PM #7MemberWebsite's:
eotips.comi don't know exactly where it located used time ago. search in kloxo admin page u will find easily
-
9th Mar 2012, 04:58 PM #8Member
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.
-
9th Mar 2012, 05:03 PM #9OPMember
^ 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.
suhosin.executor.func.blacklist = “”
those you want to disable globally.
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.
-
9th Mar 2012, 05:09 PM #10Member
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
Code:disable_functions = show_source,system,passthru,phpinfo,proc_open;
After that, restart Apache by executing the following command:
Code:service httpd restart
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
should i enable cloudflare?
By ::ALEX:: in forum Webmaster DiscussionReplies: 19Last Post: 12th Jul 2012, 08:04 PM -
need help to enable .htaccess in vps
By okpaa in forum Server ManagementReplies: 3Last Post: 16th May 2011, 11:12 AM -
[Hiring] Someone to enable RAR/unRAR on my RL
By kohkindachi in forum Completed TransactionsReplies: 8Last Post: 2nd Nov 2010, 01:22 PM -
How To Enable Mod_Rewrit in VPS?
By Dan.Crew in forum Server ManagementReplies: 4Last Post: 26th Oct 2010, 06:36 AM -
Enable Rep system?
By sewer in forum Webmaster DiscussionReplies: 1Last Post: 2nd Sep 2009, 10:25 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...