Don't assume that log_file_permissions exists
Fix #3238

Close #3239
Fix a defined() check

Close #3233
Fix #3242
Fix examples in documentation
Merge pull request #3245 from vlakoff/documentation

Fix examples in documentation
fixed a typo in changelog

Signed-off-by: Amir Saboury <amir.saboury@gmail.com>
Merge pull request #3251 from amir-s/develop

fixed a typo in changelog
[ci skip] Remove references to 'PHP5' from comments
Revert #3194

This has caused way too many BC breaks (#3238, #3242, #3257).
Close #3257
Close #3194
Make sure we don't waste entropy
stream_set_chunk_size() requires PHP 5.4