[dev] fix compatibility with php 5.4
[dev] fix travis build failing on missing redis.so