I don't know with debian,
I had a big headache trying to install it with Centos8. I really don't know why it's so tedious installing php extensions with plesk!!!
Install the php 8.1.1 version using plesk upgrade panel. It will install the /opt/plesk/php/8.1/ tree.
Then install this:
yum install...