Running PHP script as systemd daemon restarts automatically when using Alt-PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hbvagqvxckejgr
    Junior Member
    • Mar 2021
    • 5

    #1

    Running PHP script as systemd daemon restarts automatically when using Alt-PHP

    Good morning, I have a very strange issue. I wrote a PHP script to monitor something on my server. When running as a simple PHP script inside a screen, it never ends. But when the same script is running as a systemd service, the Alt-PHP process is killed and restarted each 10-15 minutes. The same script, using EA-PHP binairies, works fine as systemd service. Is there any specific timeout on Alt-PHP on CLI? (Note that the script is running as "root"). Thanks in advance.
  • apb
    Senior Member
    • Feb 2018
    • 386

    #2
    Hi,

    Please, submit a ticket with our technical support at https://cloudlinux.zendesk.com so our team can help you with the issue.

    Comment

    Working...