I have a PHP script running that's taking hours, it usually takes a long time, but I'm unsure as to what it's doing or how long it's going to be.
I know I can see how long it's been running and memory using through "top", but is there any way I can actually see which lines are being processing right now in a running PHP process?
options are:
strace to check which system calls your process is doing right nowxdebug in php and remotely connect to your script from some IDE which supports it.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With