How do I see PHP transaction details?

Hi, every morning at 9: 00 the PHP service shuts down or responds late. When I check public_html/index.php file is running.
How can I find out what this file is doing and why it is forcing the PHP service?
Last edited by a moderator: