Вернуться назад
Обновление с php 54 на php 55 Debian
apt-cache showpkg php5
1. Add the main repository to your sources.list
Depending on your distribution (Wheezy or Squeeze), add these two lines to your/etc/apt/sources.listfile (you can also choose a mirror near you) :
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all
or
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
2. Options
If you want to install :
- PHP 5.6 on Debian 7 “Wheezy”, add these two lines too :
deb http://packages.dotdeb.org wheezy-php56 all deb-src http://packages.dotdeb.org wheezy-php56 all
- PHP 5.5 on Debian 7 “Wheezy”, add these two lines too :
deb http://packages.dotdeb.org wheezy-php55 all deb-src http://packages.dotdeb.org wheezy-php55 all
- PHP 5.4 on Debian 6 “Squeeze”, add these two lines too :
deb http://packages.dotdeb.org squeeze-php54 all deb-src http://packages.dotdeb.org squeeze-php54 all
3. Fetch and install the GnuPG key
wget http://www.dotdeb.org/dotdeb.gpg
sudo apt-key add dotdeb.gpg
4. Enjoy
Run apt-get update. You should now be able to install the Dotdeb packages you want with apt-get (or dselect, or aptitude as well…)
Дата: 24 января 2019 г. в 20:13:15
Автор: igel