EugenMayer / php-tests

Builds to test the mongodb php extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different docker images to reproduce memory leaks or segmentation faults in php modules

All docker images have the debug symbols installed, including valgrind for debugging purposes

Testing

imagick extension

Issue: Imagick/imagick#156

docker-compose up imagickwheezy
docker exec -i -t imagickwheezy bash
valgrind --leak-check=full /usr/bin/php -S localhost:8085
CM-c

same for jessie

docker-compose up imagickjessie
docker exec -i -t imagickjessie bash
valgrind --leak-check=full /usr/bin/php -S localhost:8085
CM-c

mongodb extension

Issue: mongodb/mongo-php-driver#209 (comment)

docker-compose up mongowheezy
docker exec -i -t mongowheezy bash
valgrind --leak-check=full /usr/bin/php -S localhost:8085
CM-c

same for jessie

docker-compose up mongojessie
docker exec -i -t mongojessie bash
valgrind --leak-check=full /usr/bin/php -S localhost:8085
CM-c

About

Builds to test the mongodb php extension