{"id":587,"date":"2019-02-07T12:00:47","date_gmt":"2019-02-07T15:00:47","guid":{"rendered":"http:\/\/www.bfnetworks.com.br\/?p=587"},"modified":"2022-07-15T10:18:22","modified_gmt":"2022-07-15T13:18:22","slug":"php72-centos7","status":"publish","type":"post","link":"https:\/\/bfnetworks.com.br\/php72-centos7\/","title":{"rendered":"INSTALANDO PHP 7.2 – CENTOS 7"},"content":{"rendered":"

REQUISITOS<\/h3>\n

J\u00e1 tenha instalado o apache no CentOS 7.<\/p>\n

INSTALA\u00c7\u00c3O<\/h3>\n
# yum install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm\n# yum install http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm\n# yum install yum-utils\n# subscription-manager repos --enable=rhel-7-server-optional-rpms\n# yum-config-manager --enable remi-php72\n# yum update\n# yum install php72-php php72-php-fpm php72-php-gd php72-php-json php72-php-mbstring php72-php-mysqlnd php72-php-xml php72-php-xmlrpc php72-php-opcache<\/pre>\n

Obs.: Instale o php72-php e n\u00e3o o pacote php72 apenas, porque este n\u00e3o instala o module no apache.
\nVerifique se o module est\u00e1 instalado com o comando abaixo:
\n\n

# apachectl -M |grep php<\/code><\/pre>\n<\/p>\n

FONTE<\/h3>\n

https:\/\/www.cyberciti.biz\/faq\/how-to-install-php-7-2-on-centos-7-rhel-7\/
\nhttps:\/\/superuser.com\/questions\/1370791\/apache-not-executing-php-on-centos-7-in-browser#new-answer?newreg=e34de7d967e04ce5a615fcce6bccee7e<\/p>\n","protected":false},"excerpt":{"rendered":"

REQUISITOS J\u00e1 tenha instalado o apache no CentOS 7. INSTALA\u00c7\u00c3O # yum install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm # yum install http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm # yum install yum-utils # subscription-manager repos –enable=rhel-7-server-optional-rpms # yum-config-manager –enable remi-php72 # yum update # yum install php72-php php72-php-fpm php72-php-gd php72-php-json php72-php-mbstring php72-php-mysqlnd php72-php-xml php72-php-xmlrpc php72-php-opcache Obs.: Instale o php72-php e n\u00e3o o pacote php72 apenas, […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,24],"tags":[30,42,120],"_links":{"self":[{"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/posts\/587"}],"collection":[{"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/comments?post=587"}],"version-history":[{"count":1,"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/posts\/587\/revisions"}],"predecessor-version":[{"id":1878,"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/posts\/587\/revisions\/1878"}],"wp:attachment":[{"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/media?parent=587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/categories?post=587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bfnetworks.com.br\/wp-json\/wp\/v2\/tags?post=587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}