-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
NC mistaken PHP-FPM version 5.4.16 as PHP version #8115
Comments
We use PHP_VERSION see https://secure.php.net/manual/en/reserved.constants.php#reserved.constants.core So even php seems to think you are running 5.4.16. This seems like a setup issue. |
Thanks for the feedback. Checking with
Suppose |
well Did you install nextcloud via the command line? |
the webinstaller setup-nextcloud.php |
Mmm I should look into that then. But back to the original issue. If you access a file with <?php
echo 'Current PHP version: ' . phpversion(); from the web. Does it then tell you 5.6.30? |
The site doesn't work for me. But as stated if your php-fpm even trick php into thinking it is a different version then this is a setup issue. Please use https://help.nextcloud.com maybe somebody there has a clue. But I don't consider this a nextcloud bug. |
The site is up and running working fine in FF, Edge and Vivaldi. PHP content is served through
The site would not display v5.6.0 if tricked by PHP-FPM. It is already posted on forum but there is no help and thus I came here. So, basically you are saying that NC is not conducting a check of system requirements prior installation and just forges ahead with the installation in order to surprise the user afterwards? Understand that you cannot be bothered to consider this an issue of NC. Perhaps until another user pops up with the same trouble. Leaving me to move on to another platform then. Thanks anyway |
No that is a valid issue. And I have it on my todo to look into it and add a check in that setup as well. I mean the issue with php-fpm lying about its php version :) |
Mmmm I still don't get it... https://github.com/nextcloud/web-installer/blob/master/setup-nextcloud.php#L79-L81 looks like the same check... |
Explains the why the pre-natal check and the installation went ok. What is calling the post installation check, the same code? |
could you create an issue in https://github.com/nextcloud/web-installer ?Because the installer should fail as well here indeed. |
@rullzer nextcloud/web-installer#22 or perhaps the other way around and the installer should not fail but rather the tail check to be straighten out. |
not sure whether/how this potentially could cause the issue but might be worth noting that the cli bits producing different version output
|
Out of curiosity removed php-fpm from the server and the NC login page is showing. After having completed the initial NC setup and logout I put the php-fpm parser/server back to work and the NC login is still showing, presumable no more check ups run by NC after setup completion. |
after update to NC 12.0.5 it is not possible to log into NC. With the php-fpm server running it shows
And with the php-fpm server stopped it gets
@rullzer since the issue been created nextcloud/web-installer#22 it seems not to have garnered any attention. Am I better off to move to another file-sharing platform? |
Apache & Varnish Cache & Nginx Reverse Proxy
CentOS 7.4.1708 (Core) - Kernel 3.10.0-693.17.1.el7.x86_64
Apache/2.4.2
nginx/1.12.2
PHP 5.6.30
PHP-FPM 5.4.16 (fpm-fcgi)
suPHP 0.7.2
Zend Engine v2.6.0 with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)
MySQL 10.1.30-MariaDB
SEL permitting
Mod Security disabled
NC 12.0.4
Apparently NC is mistaken the PHP-FPM version as actual PHP version. After the successful installation of NC this is being presented
The output from
is
The text was updated successfully, but these errors were encountered: