Error php5 has no installation candidate
![error php5 has no installation candidate error php5 has no installation candidate](https://www.php.net//images/news/phpconfbrasil2016.png)
- #ERROR PHP5 HAS NO INSTALLATION CANDIDATE INSTALL#
- #ERROR PHP5 HAS NO INSTALLATION CANDIDATE UPDATE#
- #ERROR PHP5 HAS NO INSTALLATION CANDIDATE PASSWORD#
I recently had this issue as well and solved it using the following command: sudo apt install php7. I am trying to install a package on debian that face below error: E: Package ‘PACKAGE’ has no installation candidate but the solution everyone suggest is changing repository, but I think changing repository can’t be as best solution. Mine PHP version is 7.0, so i tried the below command. Me too was facing same problem while Fetching the Postgress Database values using Php so i resolved it by using the below commands. If you just want to install PHP no matter what version it is, try PHP7 sudo apt-get install php7.0 php7.0-mcrypt Install your PHP Version sudo apt-get updateīased on (thanks must use prefix “php5.6-” instead of “php5-” as in ubuntu 14.04 and olders: sudo apt-get install php5.6 php5.6-mcrypt Upon installation of this environment, I could generate the Let’s Encrypt SSL Certificate.
#ERROR PHP5 HAS NO INSTALLATION CANDIDATE UPDATE#
apt-get update apt-get install python3-virtualenv. 1: If the virtualenv package is not installed, running the following commands below. Please assure that you have the following before proceeding to registration. Solution: Here are some solutions that helped in resolving this issue.
#ERROR PHP5 HAS NO INSTALLATION CANDIDATE PASSWORD#
List installed php packages with dpkg -l | grep php| awk '' |tr "\n" " "`Īdd the PPA sudo add-apt-repository ppa:ondrej/php Dont forget to change your password on your first login after reset. This occurs when following the second step on the instructions on the following link (just after Install all dependencies:) sudo apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-mysql php5-curl php-pear php5-dev php5-mcrypt php5-json git-core redis-server build-essential. However if you like you can add a PPA to get those packages anyways: Package php5 has no installation candidate.
![error php5 has no installation candidate error php5 has no installation candidate](https://i.ytimg.com/vi/4BhTiqlxPK4/maxresdefault.jpg)
![error php5 has no installation candidate error php5 has no installation candidate](https://3.bp.blogspot.com/-V6HAaslzDPA/XH0Tg-GBhaI/AAAAAAAAHlk/psDsiw0mgNYvIPk0nXnNsY7X0pPp6MIwQCLcBGAs/s1600/steam-ubuntu-error.jpg)
This occurs when following the second step on the instructions on the following link (just after Install all dependencies:) sudo apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-mysql php5-curl php-pear php5-dev php5-mcrypt php5-json git-core redis-server build-essential ufw ntp. Ubuntu 16.04 comes with PHP7 as the standard, so there are no PHP5 packages Package php5 has no installation candidate. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php-mcrypt' has no installation candidate The mcrypt extension was moved to the PECL repository and is no longer bundled with PHP as of PHP 7.2.0.