MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: azzureal on 2016-04-05, 03:51:48
-
I deleted shell command server php conf, user conf and php.ini.
So I can run shell on ssh but web is not work. just blank.
-
What's purpose to delete php configs?. What's the path for deleted files?.
-
My web pgm need to run exec and shell exec.
So i confiure php conf and user php conf by panel.
And then I found /etc/php.ini had disable exec, i deleted exec, shell_exec in php.ini.
now I can run it by shell but not work by web.
-
If using 'php-fpm', declare 'disable_functions' in .conf files inside /etc/php-fpm.d (declare per-user).
-
I already applied it, but not work by web.
-
I already applied it, but not work by web.
Need waiting or force by 'sh /script/restart-web -y'. Remember, set 'disable_functions' for 'admin' will be impact for all domains under 'admin' and etcetera.