- ERROR PHP5 HAS NO INSTALLATION CANDIDATE INSTALL
- ERROR PHP5 HAS NO INSTALLATION CANDIDATE UPDATE
- ERROR PHP5 HAS NO INSTALLATION CANDIDATE UPGRADE
Try to use php version switcher: phpbrew. Restart Apache sudo service apache2 restart Move files sudo mv /usr/bin/php /usr/bin/php7 sudo mv /usr/bin/php5.6 /usr/bin/php
ERROR PHP5 HAS NO INSTALLATION CANDIDATE INSTALL
Install php5-fpm sudo apt-get install php5.6-fpm Install add-apt-repository sudo apt-get install python-software-propertiesĪdd repository for PHP 5 sudo add-apt-repository -y ppa:ondrej/php *reference for PHP 5.6 downgrade from PHP 7
ERROR PHP5 HAS NO INSTALLATION CANDIDATE UPDATE
sudo add-apt-repository ppa:sergey-dryabzhinsky/php53 sudo apt-get update sudo apt-get install php5 Fixing error: Package packagename is not available, but is referred to by another package. You can use this package ppa:sergey-dryabzhinsky/php53 to install php 5.3, i managed with this package on ubuntu 16. It would appear that ondrej's php5-oldstable repository no longer exists.this solutiion does not work anymore as the repo is not there.E: Package 'php5' has no installation candidate
install I get the following errors : Package mp3gain 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. sudo add-apt-repository ppa:ondrej/php (for the old version 5 of PHP which is no longer supported) - sudo apt-get install -y php5.6 But when I try to run. 2 On Ubuntu 16.04.1, the command: sudo add-apt-repository ppa:ondrej/php5-oldstable passes, but sudo apt-get update causes some errors, and the result of sudo apt-get install -y php5 is Package php5 is not available, but is referred to by another package.If you require PHP 5.4 use Ubuntu 12.04.x LTS. 1 NOTE: Ubuntu 13.10 (and higher) won't be supported in the repository.sudo add-apt-repository ppa:ondrej/php5-oldstable reproduce the error: 'This PPA does not support xenial' Cannot add PPA: ''This PPA does not support xenial''.
ERROR PHP5 HAS NO INSTALLATION CANDIDATE UPGRADE
If you are using these releases, you are strongly urged to upgrade to a current version, as using older versions may expose you to security vulnerabilities and bugs that have been fixed in more recent versions of PHP. This page lists the end of life date for each unsupported branch of PHP. Candidates who have completed Step I process may perform Step II activities. To be safe, the PHP 5.6 version can be installed as follows: sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php7.0 php5.6 php5.6-mysql php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0 sudo a2dismod php7.0 sudo a2enmod php5.6 sudo service apache2 restartĪll version prior to PHP 5.6 are unsupported Please upgrade to PHP 5.6 or PHP 7.0 as found in the main repository: ppa:ondrej/phpĪfter understanding the risks, to install PHP 5.4 ,add the PPA to your sources.list: sudo add-apt-repository ppa:ondrej/php5-oldstable sudo apt-get update You are using this repository knowing that there might be and probably are unfixed security vulnerabilities. Before installing PHP 5.4 you need to read this notice: