phpdebianinstallationphp-7aptitude

Get and install specific php version with aptitude


Today, current PHP version is Php7.0.8 and I would like get and install Php7.0.5 with aptitude. For example, it's possible with the dotdeb repository ?

How I can get specific php version with aptitude on Debian 8 Jessie ?


Solution

  • You can install php7.0.5 with :

    You should obtain output like that :

    PHP 7.0.5-1~dotdeb+8.1 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

    PHP 7.0.5-1~dotdeb+8.1 (fpm-fcgi) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies