Closed Paulmicha closed 5 years ago
Hi @Paulmicha , I am not sure I can help, I am not the creator of xhgui.
My xhgui image is based on https://github.com/edyan/docker-php/blob/master/5.6/Dockerfile, so look at my dockerfile if you want to see how I do. The only thing I can say to help is that I install the repo's version of xhprof with the pecl mongodb extension.
As you use compiled version of php, try to install also some dependencies : https://hub.docker.com/r/briancw/docker-php-5.6-mongo/dockerfile/
Thanks ! It worked using the dependencies and pecl package mongo
(instead of mongodb
) as in https://github.com/cleverly/docker-php-5.6-mongo/blob/master/Dockerfile
After having successfully tested the Php7.2 version on a project, I've tried the Php5.6 on another project without success.
I'm using base image
vixns/php-nginx:5.6-memcached
(Debian Jessie) with the following Dockerfile (excerpt) :I've been trying different versions of the https://pecl.php.net/package/mongodb package, with no luck. Any idea what could be causing this error ?
Server at xhgui:27017 reports wire version 0, but this version of libmongoc requires at least 3 (MongoDB 3.0)