I am trying to modify php.ini with sed commands but its not working for some reason
sed -i 's/disable_functions = /disable_functions = system, show_source, symlink, dl, shell_exec, passthru,escapeshellarg,escapeshellcmd/g' /etc/php.ini
The disable_functions line looks like this in php.ini
disable_functions =
Can you tell what is wrong
=,l;at the start of the action string to display the line number and the content of the line (buffer in fact) before the s// occuring (in this case of tracing, don't use -i)