Server 500 error when try to update PHP version

The 500 error occurs because WordPress, a plugin, or theme isn’t fully compatible with PHP 8.3.
Check error logs or enable WP_DEBUG to identify the exact issue.
Ensure all plugins, themes, and required PHP extensions are updated or revert PHP temporarily.