If there is a problem with the public key of the repository, you can use this solution. In the repository ppa:ondrej/php PHP 7.3 is also available, I think to migrate soon to this latest version. Sudo update-alternatives -set php /usr/bin/php7.2 Sudo apt install -y php7.2-imap php7.2-pspell php7.2-recode php7.2-sqlite3 php7.2-tidy php7.2-bcmath #php7.2-mcrypt Sudo apt install -y php7.2-dev php7.2-bz2 php7.2-intl php7.2-json php7.2-opcache php7.2-readline Sudo apt install -y php7.2-curl php7.2-zip php7.2-mbstring php7.2-xmlrpc php7.2-gd php7.2-xml php7.2-xsl Sudo apt install -y php7.2-common php7.2-mysql php7.2-cgi Sudo apt install -y php-memcached php-mysql php-intl php-mbstring php-curl php-gd php-imagick Sudo apt install -y php-imagick php-gettext php-memcache php-apcu php-pear php-xml php-xmlrpc Sudo apt install -y php7.2 php7.2-cli libapache2-mod-php7.2 Sudo apt-get install software-properties-common The commands that I've used to migrate from PHP 7.0 to 7.2 are: # Add the repository 'ppa:ondrej/php' My server with Ubuntu 16.04 currently uses PHP 7.2 and there are several operational instances of WordPress and MediaWiki. If you want to install a new version of PHP on 16.04 you need to use an additional PPA (as it is shown below) or you must compile it on your own. The default PHP version for Ubuntu 16.04 is 7.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |