If you read the given error, there is a DNS error. Your openHAB server cannot reach the MQTT broker. Wether this is a PHP issue or not cannot be judged from here. openHAB does not use PHP.
Since several unrelated services are affected at once, I would start with the connection from the openHAB machine itself rather than each service. Try restarting the affected bindings one at a time, then check the log around the time a Thing goes offline for the specific error behind the status. If the same pattern appears for all of them, that points more to a shared network or DNS problem than to one binding.
The message basically says it is a DNS problem. From your openHAB host, use nslookup or dig to try resolving the host names that openHAB fails to resolve.
You can also check from other devices on your network to localize the problem.
PHP is on the website “layer”, DNS is way below it.
Thanks for your hints to my silly question. I had to move technitium blocker to a different pi and just changed the new ip in the router. Every device updated the new DNS address except the synology nas where OH is running. After changing the ip manually everything is fine now.