I am using your control panel.
I need to enable shell_exec but despite being activated by the panel, the function remains disabled.
Warning: shell_exec () Has Been disabled for security
Any idea ?
Debian 7
I-mscp 1.1.5
I am using your control panel.
I need to enable shell_exec but despite being activated by the panel, the function remains disabled.
Warning: shell_exec () Has Been disabled for security
Any idea ?
Debian 7
I-mscp 1.1.5
When you disable one of those "disable functions", if you check the php.ini file (if FCGI installation, there: /var/www/fcgi/DOMAIN.TLD/php5/php.ini ), at the line 343 "disable_functions = ", you should only see phpinfo
If you see the other in there, then you have a problem in your installation.
BTW, you have to, at least, reload the apache server if I'm not mistaken, or just restart the apache.
with the response,
I'm using php-fpm, this path I have nothing:
/ var/www/fcgi/DOMAIN.TLD/php5/php.ini
Researching the php.ini file I only found these:
/ etc/php5/cli/php.ini
/ etc/php5/fpm/php.ini
/ etc/imscp/fcgi/parts/master/php5/php.ini
/ etc/imscp/fcgi/parts/php5/php.ini
/ etc / imscp / php-fpm / working / php.ini
Should work with PHP-FPM.
Ensure you did that also: i-mscp 1.1.2 php fpm php.ini per user
But to make this working, you have to enable a per-site or per-user PHP conf, don't known which choice you use in the install process.