Fix php 8.2 deprecation warnings, #6444 Closes #6444 See merge request ispconfig/ispconfig3!1684
mentioned in commit 9d27652f