Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1774

platform field in connection meta data cuts off PHP version

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.1
    • Affects Version/s: 1.8.0
    • Component/s: None
    • None
    • Environment:
      PHP 7.4.10 / 7.4.11 on Linux with extension compiled from PECL

      When I connect with `php 7.4.10-dev`, the log line says:

      { driver: { name: "mongoc / ext-mongodb:PHP", version: "1.17.0 / 1.8.0" }, os: { type: "Linux", name: "Debian GNU/Linux", version: "kernel 5.8.0-3-amd64", architecture: "x86_64" }, platform: "PHP 7.4.10-decfg=0x03d15620c9 posix=200809 stdc=201710 CC=GCC 10.2.0 CFLAGS="" LDFLAGS=""" }```
      

      platform has PHP 7.4.10-decfg= (and misses the v and a space).

      On another machine, I use php 7.4.11 where the second 1 and space are missing:

      platform: "PHP 7.4.1cfg=0x03d15620c9 posix=200809 stdc=201710 CC=GCC 10.2.0 CFLAGS="" LDFLAGS="""
      

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            atlas@derickrethans.nl Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: