PHP Cheat Sheet

Apache Config Options / .htaccess

error_reporting calculator:

Bash / Packages / Version

Get list of installed php packages:

  • dpkg --get-selections | grep ^php | cut -f 1 | tr '\n' ' '
  • dpkg --get-selections | grep ^php | cut -f 1 | tr '\n' ' ' | sed "s/7.0//g" | sed "s/php/php7.4/g"