check the environment whether it supports Magento

It can also be used as health check tool.