For future reference. I was able to fix it.
The previous Installation of plesk left on the /etc/psa/php_versions.d/php5-cgi.conf and other files, they should have been deleted upon upgrading from 12.5 to 17.0.
so deleting the php5-*, not the ones from the newer installations
updating my...