Community discussions

MikroTik App
 
mtsomeone
just joined
Topic Author
Posts: 1
Joined: Wed Nov 24, 2010 5:17 pm

PHP Script terminating when resetting/rebooting

Thu Nov 11, 2021 6:02 pm

Hi,

we are using PEAR2_Net_RouterOS in a few PHP scripts.

When ever we are resetting or rebooting a router using this API, the PHP script is terminating immediately.

It feels like once the object created with "new RouterOS\Client($ip,$user,$password);" becomes invalid, the script will terminate.

Does anybody know how to avoid/control this behaviour?

Any hint is welcome.
Thanks
mtsomeone

Who is online

Users browsing this forum: No registered users and 30 guests