Replace all occurrence of "log_errors = Off" with "log_errors = On" in all 'php.ini' files in the current directory tree
find . -name 'php.ini' -exec sed -i 's/log_errors = Off/log_errors = On/g' "{}" \;