Authored by Laurent

Installer xhprof pour php 7

Il y'a un fork de XHProf qui fonctionne sur PHP7 ici:

$ sudo apt install php-dev
$ git clone ./xhprof
$ cd xhprof/extension/
$ phpize
$ ./configure 
$ make 
$ sudo make install

Puis créer xhprof.ini:

$ cat /etc/php/7.2/mods-available/xhprof.ini

extension =

et activer le module:

$ ln /etc/php/7.2/mods-available/xhprof.ini /etc/php/7.2/apache2/conf.d/20-xhprof.ini
$ ln /etc/php/7.2/mods-available/xhprof.ini /etc/php/7.2/cli/conf.d/20-xhprof.ini
xhprof.ini 31 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment