G
G
Gangg2018-04-09 14:16:05
PHP
Gangg, 2018-04-09 14:16:05

Is it possible in php to write to a file after a script crash?

I started the php script. And then he fell for no reason. The reason may not even be in the script itself, but for example the server glitched and everything fell. Is there a possibility that the script that suddenly fell could write some information to a text file?
And then I will go to the server, see that this file has been created, and I will understand that this script has fallen.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GTRxShock, 2018-04-09
@GTRxShock

php.net/manual/en/language.exceptions.php
https://www.php-fig.org/psr/psr-3/
supervisord.org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question