My version of PHP is 5.6.28-1+deb.sury.org~trusty+1
When I do apt-get install php-soap
I get offered version 7.1 of soap.
When I run apt-cache madison php-soap
I get this:
php-soap | 1:7.1+50+deb.sury.org~trusty+1 | http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main amd64 Packages
php-soap | 0.13.0-1 | http://gb.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
php-soap | 0.13.0-1 | http://gb.archive.ubuntu.com/ubuntu/ trusty/universe Sources
... which doesn't look very promising. Why only one version?
I don't understand why I am only offered soap for PHP 7.1, which is a new version. Surely there was a version of soap for the older versions of PHP. Where can I find, and how to install?