After trying everything I could possibly find I am unable to solve my issue
I am following this tutorial on DO https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04 on how to upgrade from php5 to php7
The problem: Immediately on the first step when I execute “add-apt-repository ppa:ondrej/php”
I am given a warning error add-apt-repository is broken with non-uft-locales see xxxxxx.com
I already tried apt-get install -y language-pack-en-base LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
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!
Here’s a summary from a solution from Sakshi’s Oracle blog that works for Ubuntu:
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
then edit /etc/default/locale and add LC_ALL and LANGUAGE with values “en_US.UTF-8”, like this
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LANGUAGE=en_US.UTF-8
Now try the locale command.
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.