NOT STABLE!! Now it's just a framework for me, not yet deployed.
mmp, means "MMP is a Monitor for PHP". As its name, it will monitor all the behavior of PHP code, includes File I/O, http/https requests, mysql queries. It can also take screenshots of pages.
The Dockerfile is based on ubuntu:16.04.
docker build . --build-arg="location=china" (If used location=china, it will uses mirrors in China.)sudo docker run --privileged -it -v /data/www/zblog-test/www/:/data/www/local/www --expose=3000 --env "DEBUG=*" CONTAINER_IDSee Dockerfile and copy commands to bash...
Recommend Docker(Moby). See: #Installation
Default port is 3000. Must have mmp-token=thisiskoadefaultverifytoken in HTTP Header.
Get network requests / mysql queries / system calls by PHP.
Slowlog is able only called exit.
Get network requests / console data by browser.
Get a zip includes all screenshots.
The first calls will stop all processes and parse slowlog, and you can GET /get/slowlog to get slowlog. And if all modules were all called, the second calls will terminate the program.
Content type
Image
Digest
Size
625.5 MB
Last updated
over 6 years ago
docker pull zsxsoft/mmp-server