Which OS are you using? Which PHP, Plesk's PHP 7.2 or..?
Does your application have an online installer or are you installing it from the command line? If the former is the case, has the correct PHP handler been selected for the domain in Plesk? If the latter is the case, are you using the correct PHP binary?
I just ran this on CentOS 7, using PHP 7.2 provided by Plesk (note the path to the php binary):