Visitar URL original
Support platforms without `ext-filter` (`Call to undefined function LeProxy\LeProxy\filter_var()`) · Issue #80 · leproxy/leproxy · GitHub
Skip to content

Support platforms without ext-filter (Call to undefined function LeProxy\LeProxy\filter_var()) #80

Open

Description

@danielbuechele

I'm getting this error as of recently, running leproxy-0.2.2 with PHP 7.3.29 on macOS Monterey:

Fatal error: Uncaught Error: Call to undefined function LeProxy\LeProxy\filter_var() in /leproxy-0.2.2.php:2448

It has been working for me a couple of weeks ago (potentially before the macOS update to Monterey). Any ideas what the problem could be? Probably it's related to my environment, rather than leproxy itself. Am I missing any requirements?

Activity

  1. clue commented on Nov 24, 2021

    @clue
    Member

    @danielbuechele Thanks for reporting!

    It looks like there's indeed an unspecific dependency on ext-filter. This is enabled by default, but it looks like your installation has been compiled with --disable-filter.
    https://www.php.net/manual/en/filter.installation.php

    I'll look into this and make sure this dependency is either made explicit or (preferably) entirely optional. In the meantime, you may use a default PHP installation that does not use the --disable-filter flag.

    Refs reactphp/socket#17

  2. changed the title [-]Call to undefined function LeProxy\LeProxy\filter_var()[/-] [+]Support platforms without `ext-filter` (`Call to undefined function LeProxy\LeProxy\filter_var()`)[/+] on Jan 7, 2022
  3. added this to the milestone on Jan 7, 2022
  4. modified the milestones: , v0.3.0 on Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions