added php version error reporting