Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: DanB35 on September 30, 2017, 08:18:34 PM

Title: [SOLVED] PHP 7.1 with php-scl returning blank pages with Nextcloud
Post by: DanB35 on September 30, 2017, 08:18:34 PM
I updated my Nextcloud installation on SME 9.2 to version 12.0.3 this afternoon, and figured I'd work on some other maintenance at the same time.  It's running under PHP 5.6 right now, using smeserver-php-scl-0.4-15.el6.sme.noarch as discussed here: https://wiki.contribs.org/PHP_Software_Collections.  Everything appears to be working fine, and has been for some time, under PHP 5.6.

PHP 5.6 is kind of old, and I'm hearing that performance under PHP 7.x is supposed to be better.  So I used the server-manager panel to set Nextcloud to use PHP 7.1.  When I do, I get a completely blank page.  Not finding anything in /var/log/messages or /var/log/httpd/error_log indicating what's happening.  If I switch back to PHP 5.6, it's back to working fine.  PHP 7.1 will show a phpinfo() page, so I don't think it's a matter of it not working at all, but I'm having trouble figuring out where to start troubleshooting this.  Thoughts?
Title: Re: PHP 7.1 with php-scl returning blank pages with Nextcloud
Post by: guest22 on September 30, 2017, 09:17:48 PM
Dan, you may have hit my issue as described here https://bugs.koozali.org/show_bug.cgi?id=10403 (https://bugs.koozali.org/show_bug.cgi?id=10403)

HTH
Title: Re: PHP 7.1 with php-scl returning blank pages with Nextcloud
Post by: DanB35 on September 30, 2017, 09:25:28 PM
Dan, you may have hit my issue as described here https://bugs.koozali.org/show_bug.cgi?id=10403 (https://bugs.koozali.org/show_bug.cgi?id=10403)
Indeed, that was it.  Doing yum --enablerepo=remi,epel install php71-php-pecl-redis php70-php-pecl-redis fixed it.  Thanks!
Title: Re: [SOLVED] PHP 7.1 with php-scl returning blank pages with Nextcloud
Post by: guest22 on September 30, 2017, 09:36:28 PM
FYI: updated wiki https://wiki.contribs.org/OwnCloud#Redis