From ace428669b5b52bd87f169f73901005f4ce59ccb Mon Sep 17 00:00:00 2001 From: tcit Date: Sun, 28 Sep 2014 19:12:28 +0200 Subject: fix for #758 --- wallabag_compatibility_test.php | 111 +++++++++++++++++++++++----------------- 1 file changed, 63 insertions(+), 48 deletions(-) diff --git a/wallabag_compatibility_test.php b/wallabag_compatibility_test.php index a1fcdc2a..3f9ff59f 100644 --- a/wallabag_compatibility_test.php +++ b/wallabag_compatibility_test.php @@ -14,6 +14,7 @@ $php_ok = (function_exists('version_compare') && version_compare(phpversion(), ' $pcre_ok = extension_loaded('pcre'); $zlib_ok = extension_loaded('zlib'); $mbstring_ok = extension_loaded('mbstring'); +$dom_ok = extension_loaded('DOM'); $iconv_ok = extension_loaded('iconv'); $tidy_ok = function_exists('tidy_parse_string'); $curl_ok = function_exists('curl_exec'); @@ -24,6 +25,7 @@ $filter_ok = extension_loaded('filter'); $gettext_ok = function_exists("gettext"); $gd_ok = extension_loaded('gd'); + if (extension_loaded('xmlreader')) { $xml_ok = true; } elseif (extension_loaded('xml')) { @@ -233,6 +235,11 @@ if (isset($_GET['from'])){ Enabled Enabled' : 'Disabled'; ?> --> + + DOM / XML extension + Enabled + Enabled' : 'Disabled'; ?> + Data filtering Enabled @@ -281,7 +288,7 @@ if (isset($_GET['from'])){

What does this mean?

    - +
  1. You have everything you need to run properly! Congratulations!
  2. @@ -298,54 +305,62 @@ if (isset($_GET['from'])){
  3. Gettext: You have gettext enabled. No problems here.
  4. +
  5. Parse ini: You can parse ini files. No problems here.
  6. + + +
  7. DOM/XML: You can parse ini files. No problems here.
  8. - -
  9. Data filtering: You have the PHP filter extension enabled. No problems here.
  10. - - -
  11. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  12. - -
  13. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  14. - - - -
  15. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  16. - -
  17. mbstring: mbstring is installed, but iconv is not.
  18. - -
  19. iconv: iconv is installed, but mbstring is not.
  20. - -
  21. mbstring and iconv: You do not have either of the extensions installed. This will significantly impair your ability to read non-English feeds, as well as even some English ones.
  22. - - - -
  23. GD: You have GD support installed. No problems here.
  24. - -
  25. GD: The GD extension is not available. will not be able to download pictures locally on your server.
  26. - - - -
  27. Tidy: You have Tidy support installed. No problems here.
  28. - -
  29. Tidy: The Tidy extension is not available. should still work with most feeds, but you may experience problems with some.
  30. - - - -
  31. cURL: You have cURL support installed. No problems here.
  32. - -
  33. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  34. - - - -
  35. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  36. - -
  37. Parallel URL fetching: HttpRequestPool or curl_multi support is not available. will use file_get_contents() instead to fetch URLs sequentially rather than in parallel.
  38. - - - -
  39. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  40. - - + +
  41. Data filtering: You can use the PHP build-in DOM to operate on XML documents. No problems here.
  42. + + +
  43. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  44. + +
  45. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  46. + + + +
  47. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  48. + +
  49. mbstring: mbstring is installed, but iconv is not.
  50. + +
  51. iconv: iconv is installed, but mbstring is not.
  52. + +
  53. mbstring and iconv: You do not have either of the extensions installed. This will significantly impair your ability to read non-English feeds, as well as even some English ones.
  54. + + + +
  55. GD: You have GD support installed. No problems here.
  56. + +
  57. GD: The GD extension is not available. will not be able to download pictures locally on your server.
  58. + + + +
  59. Tidy: You have Tidy support installed. No problems here.
  60. + +
  61. Tidy: The Tidy extension is not available. should still work with most feeds, but you may experience problems with some.
  62. + + + +
  63. cURL: You have cURL support installed. No problems here.
  64. + +
  65. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  66. + + + +
  67. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  68. + +
  69. Parallel URL fetching: HttpRequestPool or curl_multi support is not available. will use file_get_contents() instead to fetch URLs sequentially rather than in parallel.
  70. + + + +
  71. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  72. + + + +
  73. DOM/XML: Your PHP configuration isn't standard, you're missing PHP-DOM. You may try to install a package or recompile PHP. will not work here.
  74. + +
  75. Parse ini files function : Bad luck : your webhost has decided to block the use of the parse_ini_file function. will not work here. -- cgit v1.2.3