added php error for lower versions then 5.4
added ngrest read session