longxinH / xhprof

PHP7/PHP8 support
http://pecl.php.net/package/xhprof
Apache License 2.0
1.07k stars 166 forks source link

Extension is loaded and works, but `extension_exists('xhprof')` returns `false` #79

Closed FluffyDiscord closed 1 year ago

FluffyDiscord commented 1 year ago

Bug Report

I have the extension loaded, it shows in php -m, it also works inside my php code just fine, but extension_exists("xhprof") and function_exists("xhprof_enable") return false for some unknown reason

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a simple script for reproducing the error. Ran extension_exists('xhprof').

  2. What did you expect to see? Returns true

  3. What did you see instead Returns false

  4. What is your Xhprof version? v2.3.9

php 8.2