Create php-login.php

Add a common file to check PHP prerequisites, load common variables, libraries, classes and functions necessary for php-login script to work properly.