I ran yum update on my server, and owncloud was upgraded to version 10
After that I see the following message in browser:
This version of ownCloud requires at least PHP 5.6.0
You are currently running 5.4.16. Please update your PHP version.
Unfortunately php 5.6 is not in main repositories for centos 7
Server configuration
Operating system: Centos 7
Web server: apache
Database: mariadb
PHP version: 5.4.16
ownCloud version (see ownCloud admin page):
$OC_Version = array(10,0,0,12);
$OC_VersionString = '10.0.0';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array(9,1);
$OC_Build = '2017-04-26T11:44:04+00:00 ce40499f02717afa0af25bf2f67629a3159a29d3';
Updated from an older ownCloud or fresh install: upgraded
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): SSL with letsencrypt
I found this article which explains how to upgrade php
https://webtatic.com/packages/php56/
Problem is, that when I try to install php56 I get this conflict:
yum install php56w php56w-opcache
Resolving Dependencies
--> Running transaction check
---> Package php56w.x86_64 0:5.6.30-1.w7 will be installed
--> Processing Dependency: php56w-common(x86-64) = 5.6.30-1.w7 for package: php56w-5.6.30-1.w7.x86_64
--> Processing Dependency: php56w-cli(x86-64) = 5.6.30-1.w7 for package: php56w-5.6.30-1.w7.x86_64
--> Processing Dependency: php56w-cli = 5.6.30-1.w7 for package: php56w-5.6.30-1.w7.x86_64
---> Package php56w-opcache.x86_64 0:5.6.30-1.w7 will be installed
--> Running transaction check
---> Package php56w-cli.x86_64 0:5.6.30-1.w7 will be installed
---> Package php56w-common.x86_64 0:5.6.30-1.w7 will be installed
--> Processing Conflict: php56w-common-5.6.30-1.w7.x86_64 conflicts php-common < 5.6
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.4.16-42.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
If I try to remove the old php
yum remove php
I get a dependency conflict with owncloud.
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.4.16-42.el7 will be erased
--> Processing Dependency: php >= 5.4.0 for package: owncloud-deps-php5-10.0.0-1.1.noarch
--> Running transaction check
---> Package owncloud-deps-php5.noarch 0:10.0.0-1.1 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================================================================================================================
Removing:
php x86_64 5.4.16-42.el7 @base 4.4 M
Removing for dependencies:
owncloud-deps-php5 noarch 10.0.0-1.1 @ce_stable 397
Transaction Summary
Remove 1 Package (+1 Dependent package)
Installed size: 4.4 M
Is this ok [y/N]: n
So what to do? Force removal of php? then install php 56 and owncloud? or is there a better way?
I am also a bit confused as how version 10 was released to main repository, when the php requirements are not there.
Regards Anders, and thanks for a great product.