{"id":330,"date":"2022-12-15T11:02:49","date_gmt":"2022-12-15T05:32:49","guid":{"rendered":"http:\/\/byomkesh.in\/wordpress\/?p=330"},"modified":"2022-12-15T11:02:51","modified_gmt":"2022-12-15T05:32:51","slug":"owncloud-upgrade-issue-php8-0-problem","status":"publish","type":"post","link":"http:\/\/byomkesh.in\/wordpress\/owncloud-upgrade-issue-php8-0-problem\/","title":{"rendered":"OwnCloud upgrade issue PHP8.0 problem"},"content":{"rendered":"\n<p>After Fedora upgrade to 35 from 33 faced issue under OwnCloud<\/p>\n\n\n\n<p>Can not run OC 10.xxx under php 8.0.xx<\/p>\n\n\n\n<p>Resolved the issue with following steps<\/p>\n\n\n\n<p>Following was already there under \/etc\/httpd\/conf.d\/owncloud.conf<\/p>\n\n\n\n<p><br><br># Enable http authorization headers<br>SetEnvIfNoCase ^Authorization$ &#8220;(.+)&#8221; HTTP_AUTHORIZATION=$1<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;FilesMatch \\.(php|phar)$&gt;\n    SetHandler \"proxy:unix:\/var\/opt\/remi\/php74\/run\/php-fpm\/www.sock|fcgi:\/\/localhost\"\n&lt;\/FilesMatch&gt;<\/code><\/pre>\n\n\n\n<p>while doing console upgrade using<br>occ upgrade<br>problem arises as default php was 8.0<\/p>\n\n\n\n<p>First renamed \/usr\/bin\/php to \/usr\/bin\/php80<br>then run following command<br>update-alternatives &#8211;install \/usr\/bin\/php php \/opt\/remi\/php74\/root\/usr\/bin\/php 74<\/p>\n\n\n\n<p>next occ update was successful<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After Fedora upgrade to 35 from 33 faced issue under OwnCloud Can not run OC 10.xxx under php 8.0.xx Resolved the issue with following steps Following was already there under \/etc\/httpd\/conf.d\/owncloud.conf # Enable http authorization headersSetEnvIfNoCase ^Authorization$ &#8220;(.+)&#8221; HTTP_AUTHORIZATION=$1 while doing console upgrade usingocc upgradeproblem arises as default php was 8.0 First renamed \/usr\/bin\/php to &hellip; <a href=\"http:\/\/byomkesh.in\/wordpress\/owncloud-upgrade-issue-php8-0-problem\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">OwnCloud upgrade issue PHP8.0 problem<\/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":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-330","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/posts\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/comments?post=330"}],"version-history":[{"count":1,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/posts\/330\/revisions"}],"predecessor-version":[{"id":331,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/posts\/330\/revisions\/331"}],"wp:attachment":[{"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/media?parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/categories?post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/byomkesh.in\/wordpress\/wp-json\/wp\/v2\/tags?post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}