News for hackers. Stuff that matters.
Re:Show HN: FrankenPHP, an app server for PHP written in Go by lapser on Saturday October 15, 2022 @08:23AM (#33214172)
I don't know if I'd call usage of a packet sniffer "easy to debug". Seems like it's reasonable to expect some debug option that is easy to activate in dev environments that will give you the relevant information.
Re:Show HN: FrankenPHP, an app server for PHP written in Go by jijji on Saturday October 15, 2022 @09:01AM (#33214395)
The back and forth communication is all that you care about with php-fpm, and rarely do you need to actually see it, unless you have php-fpm configured wrong for instance. The majority of debugging a php application means turning on debugging (i.e. ini_set 'display_errors' On and error_reporting('E_ALL')) and tailing a /var/log/nginx log file looking at what happened in your application.