Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • apb
    replied
    Hi,

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

    Leave a comment:


  • 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.
Working...
X