Just adding this as a closed issue to help anyone else upgrading to the swanky new PHP7.1 and to save them from wasting any more of the sum total of human existence on this non-issue:
Add the ondrej PPA
Install what you need (for me that was php7.1-[bcmath, cgi, curl, gd, mbstring, mcrypt, mysql, fpm, opcode, xml] and it'll pull in anything else it needs)
I also updated mysql-client-core-5.5 to the latest, backing up beforehand to be safe.
Amend one file: upstream_phpcgi_unix.conf
#server unix:/var/run/php5-fpm.sock;
server unix:/var/run/php/php7.1-fpm.sock;
Note the new location path.
Mod the ini file at /etc/php/7.1/fpm/php.ini to match your previous setup.
Note there is no mysql section anymore, the mysqli handles that now.
I think that's all I did. Site's working now, running very smoothly. I didn't benchmark it, but switching back to php5.x is easy enough, as you can see above.
Hope that saves someone from wasted time!
EDIT: Added XML, which was required by awssdk and bcmath/mbstring, both requested on the status page.
Just adding this as a closed issue to help anyone else upgrading to the swanky new PHP7.1 and to save them from wasting any more of the sum total of human existence on this non-issue:
php7.1-[bcmath, cgi, curl, gd, mbstring, mcrypt, mysql, fpm, opcode, xml]
and it'll pull in anything else it needs)mysql-client-core-5.5
to the latest, backing up beforehand to be safe.upstream_phpcgi_unix.conf
Note the new location path. Mod the ini file at
/etc/php/7.1/fpm/php.ini
to match your previous setup. Note there is no mysql section anymore, the mysqli handles that now.I think that's all I did. Site's working now, running very smoothly. I didn't benchmark it, but switching back to php5.x is easy enough, as you can see above.
Hope that saves someone from wasted time!
EDIT: Added XML, which was required by awssdk and bcmath/mbstring, both requested on the status page.