Skip to content

Updating Signal Handling to recommended standards for PHP 7.1+ #4185

Closed

Description

@TheWitness

Describe the bug

Cacti signal handling has defined ticks = 1 for several years. However, as of PHP7.1, there is a new best practice to use a new function, and Cacti is not following that best practice.

Expected behavior

Cacti should follow best practices.

Activity

  1. added this to the v1.2.17 milestone on Mar 20, 2021
  2. added a commit that references this issue on Mar 20, 2021
  3. netniV commented on Apr 30, 2021

    @netniV
    Member

    The function can be present but unusable if it is in the following list:

    https://stackoverflow.com/questions/52791039/pcntl-async-signals-has-been-disabled-for-security-reasons-ubuntu-16-lara

    disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid........
  4. changed the title [-]Cacti signal handling is not following best practices in PHP 7[/-] [+]Updating Signal Handling to recommended standards for PHP 7.1+[/+] on Apr 30, 2021
  5. locked and limited conversation to collaborators on Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions