-
Notifications
You must be signed in to change notification settings - Fork 2.2k
PHP upgrade for 5.6 and 7.0 on RHEL/CentOS #388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@oparoz Weren't you interested in this lately? |
|
Thanks for the heads up @MorrisJobke :) |
|
I have no CentOS or RH setup. I quickly went through and didn't see obvious errors. Why do you mention ldap on the PHP 7.0 version and not for PHP 5.6? |
|
I've tested the instructions and the biggest problem is that it's aimed at people already running PHP and Apache. 2 ways forward:
|
|
@oparoz What do you think about changing "Disable loading the old PHP 5.3 Apache module" to "Disable loading the old PHP 5.3 Apache module (only required if php is already installed)"? I think removing is no option because there are many ways to upgrade php on CentOS/RHEL. It's helpful to know what the Nextcloud experts recommend. |
|
@oparoz @karlitschek Would be nice to get some testing on this. At least we say to support this and should be happy about this nice writeup 😉 |
|
This topic is stuck, would be a pity to lose this contribution. I asked on the forum for CentOS users to help us reviewing this issue: |
|
I've tested and used 5.6. |
|
Wouldn't be better to use remi repo for PHP7.x for CentOS7? Works fine at my NC instance from NC11-NC13 versions for few k users. |
|
I agree that using Remi's repo would be the more universal solution. |
|
https://wiki.centos.org/de/AdditionalResources/Repositories/ The manual for updating to newer php version for centos/rhel was also referencing to scl. |
|
It's now over a year. It's really missing in the documentation and there were no principal objections. And if it is really a matter of personal preference, we could perhaps link to a place with some comparison of the different ways to handle newer php versions e.g. https://www.hogarthuk.com/?q=node/15 (found on the page @michag86 linked) |
Fix fox #291
I have tested PHP 7 on CentOS 7.
The path informations for PHP 5.6 are copied from the rpms from
http://mirror.centos.org/centos/6/sclo/x86_64/rh/rh-php56/
http://mirror.centos.org/centos/7/sclo/x86_64/rh/rh-php56/
Can somebody check this?
@tflidd @lamixer