At production level session_regenerate_id warning is annoying. So I suppress ZF2 (2.4.13) session manager session_regenerate_id warning by changing Zend/Session/SessionManager.php file’s regenerateId method by putting “@” in front of session_regenerate_id function.