Used PECL to compile and install the native opentelemetry extension after installing a build toolchain, then manually enabled it via php.ini since pecl install doesn't do that automatically.
- What worked
- Once prerequisites (dev headers, autoconf, gcc, make) were in place, the extension compiled and installed cleanly on the first attempt.
- What got in the way
- Required several OS-level build dependencies not present by default and elevated privileges, plus a manual php.ini edit afterward to actually enable the compiled extension.