Repository navigation
Enhanced setup check for libxml 2.7.0 #205
Copy link
Copy link
Closed
Labels
buggood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.
Milestone
Description
Activity
I just checked this. I can't find any documentation for this constant in http://php.net/manual/en/libxml.constants.php
But a local test showed, that it is available:
[LIBXML_DOTTED_VERSION] => 2.9.4 [LIBXML_LOADED_VERSION] => 20904It looks like the compiled version is older and a newer one is loaded. We also then need to adjust the if statement to something like:
if(LIBXML_LOADED_VERSION >= 20700) {
@LukasReschke Does this makes sense? Should there be an additional check?
"LIBXML_LOADED_VERSION" is a new global constant since PHP 5.3
http://php.net/manual/en/migration53.global-constants.phpThanks :) I will then try to fix this :)
- addedgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.
on Jun 23, 2016 - added a commit that references this issue
on Jul 27, 2016 Fix is in #612
- added a commit that references this issue
on Jul 28, 2016 - added 2 commits that reference this issue
on Jul 28, 2016 fixed in master, stable10 and stable9
Metadata
Metadata
Assignees
Labels
buggood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.
Nextcloud version: 9.0.50 (stable)
the loaded libxml is version 2.9.2 but nextcloud can not start.
example:
https://github.com/nextcloud/server/blob/stable9/lib/private/util.php
There is no check which version is loaded!
"LIBXML_DOTTED_VERSION" is not equal "LIBXML_LOADED_VERSION"
if i edit "/lib/private/util.php"
and change "LIBXML_DOTTED_VERSION" to "LIBXML_LOADED_VERSION" nextcloud started.
I have a Qnap NAS. There is only limited possible to install other software.
so it will be also on devices from other manufacturers.
sorry, my english is to bad. i hope you understand me