• jbdev2023

    (@jbdev2023)


    I am facing some issue with suspicious code with wp-cli.
    In?wp-cli/php/utils.php, below message is added on?1503?line number.
    $msg = 'The PHP functions proc_open() and/or proc_close() are disabled. Please check your PHP ini directive disable_functions or suhosin settings.';
    But as WP support php version 7.4 or greater. But as above message suhosin is not compatible with greater than 5.6. That’s why its display as suspicious.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    That line is part of the wp-cli distro. It’s intended to be there. You may disagree with with how it is phrased, but that does not make it suspicious.

    The point of the message is to warn users that proc_open() is not available and suggest how that might be remedied. There are forks of suhosin that are 8.0 compatible, so if proc_open() can be disabled from its settings then the message remains valid IMO.

Viewing 1 replies (of 1 total)
  • The topic ‘Suspicious code with wp-cli related to suhosin’ is closed to new replies.