F
F
fman22016-07-12 15:07:17
PHP
fman2, 2016-07-12 15:07:17

How to log CURL requests in PHP?

Good afternoon.
There is a system:
Ubuntu 14.04 / PHP 5.6 (FPM)
There are many CURL requests that are executed in a PHP script. Is it possible to somehow globally track requests and responses from curl using ubuntu and write this data to a file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2016-07-12
@Sanasol

tcpdump
or install runkit and reassign curl to your handler :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question