04-19-2016, 08:59 AM
I'm trying to install PHP5 so that I can run a Dokuwiki server, but I get this error message:
I've added additional repositories and then run apt-get update, but no luck.
Any suggestions on how to get PHP5 installed?
Thanks.
Code:
ubuntu@Pine64:~$ sudo apt-get install php5-fpm php5-gd Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php5-gd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php5-fpm' has no installation candidate
E: Package 'php5-gd' has no installation candidate
I've added additional repositories and then run apt-get update, but no luck.
Code:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
Any suggestions on how to get PHP5 installed?
Thanks.