By the way, from our docs:
If you currently have a different version installed, this command will perform the uninstallation of the previous version.
Isn't it clear?
I'm not sure, but please try:
sudo stack -php-ver=7.3
# Then install 7.4 again:
sudo stack -php-ver=7.4
# Then try a server-reset:
sudo webinoly -server-reset=all
The first time I read your issue I thought you were affected by an issue that occurred with PHP Ondrej PPA some months ago, that would explain why you were seeing more than one PHP version installed. Webinoly immediately released a patch for that at that moment, in some rare cases re-installing PHP twice is necessary. Seems like it's not the case!
Now, I think you have a very corrupted installation and packages. In a very normal Webinoly situation, re-installing PHP would be sufficient. In your case, I have no idea why it's failing.
That's exactly what I told you, please, follow my advice:
Here are my recommendations:
PayPal · GitHub Sponsors · Bitcoin