By Lex Gabrees
Hi,
So, I’m trying to upgrade on Ubuntu 14.04 / PHP 5.5 to PHP 7 by following this tutorial : https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04 .
In this tutorial there’s a workaround for this error :
WARNING: add-apt-repository is broken with non-UTF-8 locales, see https://github.com/oerdnj/deb.sury.org/issues/56 for workaround:
There’s a workaround in the tutorial itself as such :
sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
However, when doing this, nothing changes. I get the same error … anyone know how to solve it ?
Thanks, Lex
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I would also like to know how to solve this problem, may I ask you to solve this problem?
Try this: sudo apt-get install -y software-properties-common Them: LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.