Reputation: 3
I have downloaded the dll file from http://windows.php.net/downloads/pecl/releases/xhprof/0.10.6/ and kept the first 32 bit file at C:\wamp\bin\php\php5.3.13\ext and also include it in my php.ini file (as extension=php_xhprof.dll). But when I call phpinfo() xhprof is now showing. I am not getting any errors in my log.
Upvotes: 0
Views: 277
Reputation: 94662
There are 2 php.ini
file and you may have edited the wrong one.
To make sure you edit the correct php.ini
file i.e. the one used by Apache use the wampmanager menus like so:
left click wampmanager -> PHP -> php.ini
Check this has the new extension
and if not add it to this file.
The php.ini
file in \wamp\bin\php\php{version}\php.ini
is only used when you are running PHP CLI i.e. running PHP from the Command Line
Also make sure you downloaded the Thread Safe version of xhprof
that will be the ones with -ts-
in the zip file name.
Also the vc9
or vc11
should match the compiler used to compile your Apache and PHP. If you are using PHP5.3 (very old) then you had better hope it is VC9
but it is quite possible that your Apache/PHP may have been compiled with VC6
which means this extension will not run with your version of Apache/PHP.
Upvotes: 0