Enable mongo in php, save compilation to install log