I'm having an Issue with the php OCI8 module.
I have a php worker handling some stuff and I realized once there is an open oci connection the php script ignores any interruption signal:
<?php
$db = oci_connect(...);
while (true) {
// do something
}
there is no way to gracefully stop this script. At least that I know of.
I have tried using pcntl_signal()
to create my custom signal handler, won't work though.
Right now i need to kill the process manually.
Anyone have this issue or a way to handle SIGINT
with oci?
cheers!