PHP - Debug

Configuration

To display errors, edit the /etc/php.ini file and set:

display_errors = On

Note: Don’t forget to re-start the web server…

Simple

Simple debugging can be done with print statements e.g:

print("we are here...");