Simple php requirement checker