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 6
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?
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 6
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?