Skip to content
Advertisement

Tag: systemd

Why doesn’t PHP 7.2 fopen(/tmp, a) write to the file?

I have an old “PHPDBG” function that lets me “printf” to a text file. I’ve had PHPDBG.inc “since forever” (at least since PHP 4.x days), but it doesn’t seem to be working in my current configuration (ubuntu18, Apache 2.4.29 and PHP 7.2). Specifically: I can’t open the file ($fp is null) … /tmp/PHPDBG.txt never gets created (because of the fopen

Advertisement