You can install both together.

The package names without versions will have a dependency on the latest 
version, so installing the “php” package on ascii will depend on “php7.0” but 
the deb.sury.org repository will have an upgraded “php” package depending on 
“php7.3” and so on for all the various php packages.

https://packages.debian.org/stretch/php

Nothing stops you from having both “php7.0” and “php7.3” installed together.

If you want to just upgrade, you can update from deb.sury.org and then 
uninstall the existing php7.0-* packages.

> On 9 Jun 2019, at 10:12, hal <[email protected]> wrote:
> 
> If I go this route, would I need to uninstall all my php7.0x packages by hand 
> first and then install PHP via the sury repo?
> 
> eg:
> 
> 
> # aptitude purge $(dpkg -l | grep php | awk '{print $2};' | xargs)
> The following packages will be REMOVED:
>  imagemagick-6-common{u} libapache2-mod-php{p} libapache2-mod-php7.0{p} 
> liblqr-1-0{u} libmagickcore-6.q16-3{u} libmagickwand-6.q16-3{u} libmcrypt4{u} 
> libzip4{u} php{p}
>  php-apcu{p} php-apcu-bc{pu} php-bz2{p} php-common{p} php-curl{p} php-fpm{p} 
> php-gd{p} php-igbinary{p} php-imagick{p} php-intl{p} php-json{p} php-ldap{p} 
> php-mbstring{p}
>  php-mcrypt{p} php-mysql{p} php-redis{p} php-xml{p} php-zip{p} php7.0{pu} 
> php7.0-bz2{pu} php7.0-cli{pu} php7.0-common{p} php7.0-curl{pu} php7.0-fpm{pu} 
> php7.0-gd{pu}
>  php7.0-intl{pu} php7.0-json{pu} php7.0-ldap{pu} php7.0-mbstring{pu} 
> php7.0-mcrypt{pu} php7.0-mysql{pu} php7.0-opcache{pu} php7.0-readline{pu} 
> php7.0-xml{p} php7.0-zip{pu}
>  ttf-dejavu-core{u}
> 0 packages upgraded, 0 newly installed, 45 to remove and 0 not upgraded.
> Need to get 0 B of archives. After unpacking 32.7 MB will be freed.
> Do you want to continue? [Y/n/?]
> 
> 
>> On 6/5/19 6:27 PM, wirelessduck--- via Dng wrote:
>> https://deb.sury.org/
>> You can get php7.3 from that repository for ascii. Just use the “stretch” 
>> equivalent name from debian.
>>> On 6 Jun 2019, at 00:53, hal <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> Hi all,
>>> I happened to glance over at the supported PHP matrix[1] on php.net 
>>> <http://php.net> yesterday and noticed 7.0x is EOL. This is the version 
>>> bundled with Ascii. Do the debian backports cover securiy updates to PHP 
>>> 7.0x until the distro itself is EOL or should I have upgraded PHP already?
>>> 
>>> Thanks
>>> 
>>> [1]
>>> https://www.php.net/supported-versions.php
>>> _______________________________________________
>>> Dng mailing list
>>> [email protected] <mailto:[email protected]>
>>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>> _______________________________________________
>> Dng mailing list
>> [email protected]
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to