Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Installation: review dependencies on PHP extensions #1575

Closed
robocoder opened this Issue · 8 comments

2 participants

Anthon Pang Matthieu Aubry
Anthon Pang
Collaborator

In #956, we added a check for the xml extension, but it's only a warning if missing.

However, support requests on the forum (e.g., data is collected but graphs don't display) show that this is insufficient.

Anthon Pang
Collaborator

The xml extension is enabled in a default php build (like SPL).

Matthieu Aubry
Owner

If only the graphs fail to display, then the XML extension is optional (since the report tables will display fine).
However it would be nice to display it nicely (eg. when a user has a partial working Piwik, let him know that the graph don't work because he is missing xml extension)

Anthon Pang
Collaborator

Temporarily re-opening for investigation. I'm recompiling php on my test box with --disable-xml (and --without-pear) to document what the full impact is.

Anthon Pang
Collaborator

FYI the FreeBSD ports collection has a dependency check for:

mysql gd pdo pdo_mysql zlib iconv dom json session xml

Anthon Pang
Collaborator

Base functionality (including graphs) works with --disable-xml.

Going to rebuild without libxml.

Anthon Pang
Collaborator

Ok... compiling withput libxml also means no xml, xmlreader, xmlwriter, simplexml, or dom.

Graphs still work but:

  • Feedburner stats show:
Fatal error: Class 'SimpleXMLElement' not found in /home/apang/work/piwik/dev/trunk/plugins/ExampleFeedburner/ExampleFeedburner.php on line 112
  • Piwik.org blog shows:
Fatal error: Call to undefined function libxml_use_internal_errors() in /home/apang/work/piwik/dev/trunk/libs/Zend/Feed.php on line 194
  • SEO widget is empty
Anthon Pang
Collaborator

(In [3504]) fixes #1575 - removed special logic re: json and xml; add generic check for "other extensions" (json, libxml, dom, and SimpleXML)

Anthon Pang
Collaborator

(In [3505]) refs #1575 - handle missing "session" extension

Anthon Pang robocoder added this to the Piwik 1.1 milestone
Anthon Pang robocoder self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.