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:
straceto check which system calls your process is doing right nowxdebugin php and remotely connect to your script from some IDE which supports it.