pydio / pydio-core

Pydio 8 official repository
https://pydio.com
GNU Affero General Public License v3.0
869 stars 289 forks source link

PHP 7.2 fatal error at installation #1416

Closed calvintam236 closed 6 years ago

calvintam236 commented 6 years ago

I tried to run the installation with PHP 7.2.1, and I can't even get through the first step in the installation wizard.

count(): Parameter must be an array or an object that implements Countable

pydio-core: v8.0.2 apache php 7.2.1

cupcakearmy commented 6 years ago

Same problem here🖐

cdujeu commented 6 years ago

We’ll look into this but be patient, we are working like dogs on the next major release... stick to 7.1 in between

cupcakearmy commented 6 years ago

I discovered some interesting stuff. Basically it works fine if php is installed locally. If I have a separate php container and pydio-nginx container with the pydio files and one for the db, the problem occurs.

nienic commented 6 years ago

Is there a quick way to fix it? I can't change PHP version.

cdujeu commented 6 years ago

@c12simple can you provide the fix ?

senthor commented 6 years ago

Same issue. When upgrading Ubuntu to 18.04 LTS, PHP is upgraded to 7.2, breaking existing Pydio installations.

cdujeu commented 6 years ago

we're on it

DrPine commented 5 years ago

Was this closed because it was fixed or fix still in development? If it was fixed, the issue persists with the latest PHP and Pydio 8.0.0 setup.

OS: CentOS 7 PHP: 7.3.4 Nginx: 1.15.11

c12simple commented 5 years ago

Hello,

I would like to clarify with you on version of Pydio that you have error. Do you have 8.0.0 ? We fix the problem with php 7.2 in 8.0.x or 8.2.x

DrPine commented 5 years ago

Thats what I was wondering, did I need to downgrade. I believe I have PHP 7.3.4 thats what I wrote, so I will try downgrading today.

c12simple commented 5 years ago

Hello, Confirmed: Pydio 8.2.3 + centos 7 + php 7.3 + apache run properly without any issue.

DrPine commented 5 years ago

Apache comes preconfigured with PHP so maybe it's my Nginx setup.

Maybe I use Apache for this and Nginx for everything else hah

calvintam236 commented 5 years ago

I think Nginx should be supported for this application. It should not have problem on either Apache or Nginx.

cdujeu commented 5 years ago

Pydio 8 perfectly works with both, as long as PHP is correctly configured.