This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

PHP exec disabled - problem enabling.
#1
PHP exec disabled - problem enabling.
Hi, 
I am working on a simple control panel to start and stop a shell script. In order to do this, I wanted to use exec() or something similar. Only problem is, I get this error: Warning: exec() has been disabled for security reasons in /var/sentora/hostdata/zadmin/public_html/SITE/server/actions.php on line 

I have removed all the disable_functions in the php.ini as well as set safe_mode to off. I've also tried this in the httpd.conf:
<Directory /etc/sentora/hostdata/zadmin/public_html/*>

    Options +FollowSymLinks

    DirectoryIndex index.php

    <IfModule mod_php5.c>

        php_admin_value safe_mode off

    </IfModule>
</Directory>


I still get the error that it is disabled. What am I missing?
 
Reply
Thanks given by:


Messages In This Thread
PHP exec disabled - problem enabling. - by asobiek - 07-06-2016, 08:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Problem with roundcube pgh2011 0 2 ,288 01-30-2021, 12:48 AM
Last Post: pgh2011
Import zpanel settings problem pgh2011 0 2 ,292 12-30-2020, 07:08 PM
Last Post: pgh2011
Senator crash problem with mysql provokas 3 9 ,696 08-20-2020, 04:11 AM
Last Post: Your Creator

Forum Jump:


Users browsing this thread: 1 Guest(s)