Added php version check