{"id":159,"date":"2017-12-08T21:33:23","date_gmt":"2017-12-08T20:33:23","guid":{"rendered":"http:\/\/slackware.wp.w3.pt\/?p=159"},"modified":"2017-12-08T22:35:43","modified_gmt":"2017-12-08T21:35:43","slug":"php-7","status":"publish","type":"post","link":"http:\/\/slackware.pt\/?p=159","title":{"rendered":"PHP 7"},"content":{"rendered":"<p>A vers\u00e3o current do Slackware passou a usar o PHP7. Depois de fazer a atualiza\u00e7\u00e3o para o PHP7, passei a receber a mensagem seguinte, sempre que arrancava com o Apache:<\/p>\n<p><code>httpd: Syntax error on line 654 of \/etc\/httpd\/httpd.conf: Syntax error on line 6 of \/etc\/httpdmod_php.conf: Cannot load lib64\/httpd\/modules\/libphp5.so into server: \/usr\/lib64\/httpd\/modules\/libphp5.so: cannot open shared object file: No such file or directory<\/code><\/p>\n<p>Enviei uma mensagem ao Patrick e ele respondeu o seguinte:<\/p>\n<p><code>The new file won't copy over your old one.<br \/>\nTry:  mv \/etc\/httpd\/mod_php.conf.example \/etc\/httpd\/mod_php.conf<br \/>\nTake care,<br \/>\nPat<\/code><\/p>\n<p>e acrescentou<\/p>\n<p><code>I will add better handling of this file in the next build.<br \/>\nThanks,<br \/>\nPat<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A vers\u00e3o current do Slackware passou a usar o PHP7. Depois de fazer a atualiza\u00e7\u00e3o para o PHP7, passei a receber a mensagem seguinte, sempre que arrancava com o Apache: httpd: Syntax error on line 654 of \/etc\/httpd\/httpd.conf: Syntax error on line 6 of \/etc\/httpdmod_php.conf: Cannot load lib64\/httpd\/modules\/libphp5.so into server: \/usr\/lib64\/httpd\/modules\/libphp5.so: cannot open shared object &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/slackware.pt\/?p=159\" class=\"more-link\">Continuar a ler <span class=\"screen-reader-text\">&#8220;PHP 7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/posts\/159"}],"collection":[{"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/slackware.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=159"}],"version-history":[{"count":3,"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":162,"href":"http:\/\/slackware.pt\/index.php?rest_route=\/wp\/v2\/posts\/159\/revisions\/162"}],"wp:attachment":[{"href":"http:\/\/slackware.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/slackware.pt\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/slackware.pt\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}