anchor.diff:        "--with-event-extra"
         "--with-event-pthreads"
       ];
  +
  +    postPhpize = ''
  +      substituteInPlace configure --replace 'as_fn_error $? "Couldn'\'''t find $phpincludedir/sockets/php_sockets.h. Please check if sockets extension installed" "$LINENO" 5' \
  +                                            ':'
  +    '';
  +
       nativeBuildInputs = [ pkgs.pkgconfig ];
       buildInputs = with pkgs; [ openssl libevent ];
  +    internalDeps = [ php.packages.exts.sockets ];
   
       meta = with pkgs.lib; {
         description = ''
  
positive.code:     nativeBuildInputs = [ pkgs.pkgconfig ];
    };
  
    zmq = assert !isPhp73; buildPecl {
      version = "1.1.3";
      pname = "zmq";
  
  
negative.code:   mailparse = buildPecl {
      version = "3.0.3";
      pname = "mailparse";
      sha256 = "00nk14jbdbln93mx3ag691avc11ff94hkadrcv5pn51c6ihsxbmz";
  
      internalDeps = [ php.packages.exts.mbstring ];
      postConfigure = ''
        echo "#define HAVE_MBSTRING 1" >> config.h
      '';
    };
  
    maxminddb = buildPecl rec {
  