Closed zdjphp closed 3 years ago
php -v Warning: PHP Startup: Unable to load dynamic library 'xhprof' (tried: D:/program/laragon/bin/php/php-7.2.19-Win32-VC15-x64/ext\xhprof (Ҳָģ顣), D:/program/laragon/bin/php/php-7.2.19-Win32-VC15-x64/ext\php_xhprof.dll (Ҳָģ顣)) in Unknown on line 0 PHP 7.2.19 (cli) (built: May 29 2019 13:58:59) ( ZTS MSVC15 (Visual C++ 2017) x64 ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
下载的dll是 php_xhprof-2.2.3-7.2-nts-vc15-x64
确认已经将 dll 和pdb 放入对应目录
ZTS 你的php版本是zts的,所以需要用https://windows.php.net/downloads/pecl/releases/xhprof/2.2.3/php_xhprof-2.2.3-7.2-ts-vc15-x64.zip
下载的dll是 php_xhprof-2.2.3-7.2-nts-vc15-x64