This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Ondrej has a launchpad site for ubuntu. There are several older versions of php that can be installed, though he doesn't do 5.3 anymore. Using the following repository entry, I was able to install php 5.5 alongside the 7.0 version.
Thank you for pointing this out. My Ubuntu won't let me use that repo, claiming it is not signed and therfore insecure. I tried to get over this, with --allow-unauthenticated; which didn't work either. It is also claiming weak key of virtualmin repos (SHA1),
W: GPG error: http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4F4EA0AAE5267A6C
I googled around, but only found that --allow-unauthenticated option, which won't change things. Then i would have just to do a apt-get install php5 and then could select it in virtualmin or are there other things to do beforehand?
Sorry for taking so long: I don't get notifications things have been updated here...
I honestly can't recall how I got ubuntu16.04 lts to accept the gpg key. I think it asked me if I really wanted to use it, and I said yes. it looks like I got it running on 13 September, but I don't see anything in my history file after "add apt-repository"...
I think I used synaptic afterwards as a gui. Maybe it asked me...
Ondrej has a launchpad site for ubuntu. There are several older versions of php that can be installed, though he doesn't do 5.3 anymore. Using the following repository entry, I was able to install php 5.5 alongside the 7.0 version.
--jason
deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
Thank you for pointing this out. My Ubuntu won't let me use that repo, claiming it is not signed and therfore insecure. I tried to get over this, with --allow-unauthenticated; which didn't work either. It is also claiming weak key of virtualmin repos (SHA1),
W: GPG error: http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4F4EA0AAE5267A6C
I googled around, but only found that --allow-unauthenticated option, which won't change things. Then i would have just to do a apt-get install php5 and then could select it in virtualmin or are there other things to do beforehand?
W: http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-xenial/Release.gpg : Signature by key 31D2B18872EAF68EFB81F81DE8DD3FA0A0BDBCF9 uses weak digest alg orithm (SHA1)
W: http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-universal/Release. gpg: Signature by key 31D2B18872EAF68EFB81F81DE8DD3FA0A0BDBCF9 uses weak digest algorithm (SHA1)
@Eric: Could you fix that please?
Best
Hello Just_me,
Sorry for taking so long: I don't get notifications things have been updated here...
I honestly can't recall how I got ubuntu16.04 lts to accept the gpg key. I think it asked me if I really wanted to use it, and I said yes. it looks like I got it running on 13 September, but I don't see anything in my history file after "add apt-repository"...
I think I used synaptic afterwards as a gui. Maybe it asked me...
Sorry I can't help more.
--jason
Looks like this keyproblem can be fixed like this:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C
Oh, another one: if you just enter
apt-get install php5
this won't be found. you have to do
apt-get install php5.6
or whatever version you want to install.
i have to admit, that i also did this, before fixing the key, am not sure, whether this was helping as well:
apt-get install python-software-properties
Just in case.