The thing is that I have to run php7.4 and php8.1 in the same apache server (running in Ubuntu 20.04.6 LTS focal). I achieve this in a VirtualBox machine with the same specifications following this guide
When I tried the same thing in the production server sudo add-apt-repository ppa:ondrej/php
throws (ERROR: '~ondrej' user or team does not exist.
). Also if I enter the link in the sources.list and then try to install the key shows connection timeout
.
Server is delicate there are other apps being used in production. I cant install archives with security risk.
After some research I conclude that the firewall of that server is not letting me install this key and I dont have access to change configuration files of the firewall (Im not sure about this but none of the answers worked).
There are no proxys, I have tryed installing the key from a different port, installing software-properties-common, reinstalling ca-certificates, modifying resolv.conf.
My question after all this is: Is there a way to install php8.1 and make it run simultaneously with php7.4 in an apache server without installing ppa:ondrej/php
?
Any advice is usefull I dont know what more to try. (sorry my bad english)