some devs make jokes about PHP – but this – only PHP + XDEBUG can do!

  • setup a test-server with test requests and data and start debug session with the REAL requests that start a debug-session in eclipse to look into the code step-debugging what is going on-and-wrong and find the problem with this particular input
    • python can only do this for files, not requests (also python is slower)
  • develop DIRECTLY on this test-server
    • then git commit git pull aka sync-copy results to production

“show me the src”:

how to set it up?

some find it hard to setup and it can be a bit tricky, so prepared a ready2go virtualbox disk images (3.2GB download).

support the software:

so the software can support the developer, so the developer can support the user:

“where does the money go?” wow look at this:

really would wish every project had this kind of transparency 😀

PS: DEFINATELY DISABLE OPCACHE DURING DEVELOPMENT! X-D “why does this variable have values from yesterday?” “strange” (it was OPCACHED)

# where are the config files?
# 1) way look: info.php

echo '<?php phpinfo();' > /var/www/html/info.php
# open info.php in browser and Ctrl+F search for php.ini

# 2) way:
php --ini
Configuration File (php.ini) Path: /etc/php/8.1/cli
Loaded Configuration File:         /etc/php/8.1/cli/php.ini
Scan for additional .ini files in: /etc/php/8.1/cli/conf.d
Additional .ini files parsed:      /etc/php/8.1/cli/conf.d/10-mysqlnd.ini,

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!