{"id":683,"date":"2017-11-30T18:42:31","date_gmt":"2017-11-30T21:42:31","guid":{"rendered":"https:\/\/henriquereis.com\/blog\/?p=683"},"modified":"2018-10-09T15:32:07","modified_gmt":"2018-10-09T18:32:07","slug":"php-7-2-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/henriquereis.com\/blog\/php-7-2-ubuntu-16-04\/","title":{"rendered":"php 7.2 Ubuntu 16.04"},"content":{"rendered":"<p>Se n\u00e3o tiver instalado, adicione a op\u00e7\u00e3o para instalar software propriet\u00e1rios<\/p>\n<p><code>sudo apt install software-properties-common<\/code><\/p>\n<p>Adicione o reposit\u00f3rio<br \/>\n<code>sudo add-apt-repository ppa:ondrej\/php<\/code><br \/>\nAtualize informa\u00e7\u00f5es de pacotes<br \/>\n<code>sudo apt update<\/code><\/p>\n<p>Se voc\u00ea receber mensagem NO_PUBKEY inv\u00e1lida, execute os comandos abaixo:<\/p>\n<p><code>sudo add-apt-repository ppa:nilarimogard\/webupd8<br \/>\nsudo apt update<br \/>\nsudo apt install launchpad-getkeys<br \/>\nsudo launchpad-getkeys<br \/>\n<\/code><\/p>\n<p>Instale o php 7.2<\/p>\n<p><code>sudo apt install php7.2 \\<br \/>\nphp7.2-bcmath \\<br \/>\nphp7.2-common \\<br \/>\nphp7.2-cgi \\<br \/>\nphp7.2-curl \\<br \/>\nphp7.2-dev \\<br \/>\nphp7.2-fpm \\<br \/>\nphp7.2-gd \\<br \/>\nphp7.2-intl \\<br \/>\nphp7.2-json \\<br \/>\nphp7.2-mysql \\<br \/>\nphp7.2-mbstring \\<br \/>\nphp7.2-pgsql \\<br \/>\nphp7.2-sqlite3 \\<br \/>\nphp7.2-xml \\<br \/>\nphp7.2-zip \\<br \/>\nphp7.2-xsl\u00a0\\<br \/>\nphp-apcu \\<br \/>\nphp-imagick \\<br \/>\nphp-memcached \\<br \/>\nphp7.2-mongodb \\<\/code><br \/>\n<code>php-redis<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Se n\u00e3o tiver instalado, adicione a op\u00e7\u00e3o para instalar software propriet\u00e1rios sudo apt install software-properties-common Adicione o reposit\u00f3rio sudo add-apt-repository ppa:ondrej\/php Atualize informa\u00e7\u00f5es de pacotes sudo apt update Se voc\u00ea receber mensagem NO_PUBKEY inv\u00e1lida, execute os comandos abaixo: sudo add-apt-repository ppa:nilarimogard\/webupd8 sudo apt update sudo apt install launchpad-getkeys sudo launchpad-getkeys Instale o php 7.2 sudo &hellip; <a href=\"https:\/\/henriquereis.com\/blog\/php-7-2-ubuntu-16-04\/\" class=\"more-link\">Continue lendo <span class=\"screen-reader-text\">php 7.2 Ubuntu 16.04<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/posts\/683"}],"collection":[{"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/comments?post=683"}],"version-history":[{"count":11,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/posts\/683\/revisions"}],"predecessor-version":[{"id":687,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/posts\/683\/revisions\/687"}],"wp:attachment":[{"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/media?parent=683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/categories?post=683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/tags?post=683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}