Bump minimal php version to 5.4, enhance SysVQueue