apply misc fixes and enhancements to 'limit-debug-mode'

add language tag 'PHP' to code blocks
add language tag 'Apache' to code block
fix typo
remove new lines at the end of code clocks