Made php files use php configuration files to define hostname