As stated in the Title.
How can I detect an incoming connection from PHP's fsockopen method in my web server logs?
Which log file records this activity if it gets recorded at all.
Server: Ubuntu 16.04 upto 20.04
I've tried Nginx access.logs, but I think this is a different kind of connection and is not being recorded there.
An example PHP script:
<?php @fsockopen("anydomain.tld", 80, $errorNo, $errorStr, 3);