From: tcit Date: Sun, 18 May 2014 16:56:20 +0000 (+0200) Subject: Fix for #678 X-Git-Tag: 1.7.0^2~6^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=becc5bfbf289b1dda65fea4761742f1998d2143a;p=github%2Fwallabag%2Fwallabag.git Fix for #678 --- diff --git a/wallabag_compatibility_test.php b/wallabag_compatibility_test.php index 7a52767c..d6f22156 100644 --- a/wallabag_compatibility_test.php +++ b/wallabag_compatibility_test.php @@ -8,6 +8,7 @@ $mbstring_ok = extension_loaded('mbstring'); $iconv_ok = extension_loaded('iconv'); $tidy_ok = function_exists('tidy_parse_string'); $curl_ok = function_exists('curl_exec'); +$parse_ini_ok = function_exists('parse_ini_file'); $parallel_ok = ((extension_loaded('http') && class_exists('HttpRequestPool')) || ($curl_ok && function_exists('curl_multi_init'))); $allow_url_fopen_ok = (bool)ini_get('allow_url_fopen'); $filter_ok = extension_loaded('filter'); @@ -237,6 +238,11 @@ if (isset($_GET['from'])){ Enabled Enabled' : 'Disabled'; ?> + + Parse ini file + Enabled + Enabled' : 'Disabled'; ?> + Parallel URL fetching Enabled @@ -260,7 +266,7 @@ if (isset($_GET['from'])){

What does this mean?

    - +
  1. You have everything you need to run properly! Congratulations!
  2. @@ -275,47 +281,53 @@ if (isset($_GET['from'])){
  3. Gettext: You have gettext enabled. No problems here.
  4. - - -
  5. Data filtering: You have the PHP filter extension enabled. No problems here.
  6. - - -
  7. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  8. - -
  9. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  10. - - - -
  11. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  12. - -
  13. mbstring: mbstring is installed, but iconv is not.
  14. - -
  15. iconv: iconv is installed, but mbstring is not.
  16. - -
  17. 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.
  18. - - - -
  19. Tidy: You have Tidy support installed. No problems here.
  20. - -
  21. Tidy: The Tidy extension is not available. should still work with most feeds, but you may experience problems with some.
  22. - - - -
  23. cURL: You have cURL support installed. No problems here.
  24. - -
  25. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  26. - - - -
  27. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  28. - -
  29. 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.
  30. - - - -
  31. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  32. - + + + + +
  33. Data filtering: You have the PHP filter extension enabled. No problems here.
  34. + + +
  35. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  36. + +
  37. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  38. + + + +
  39. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  40. + +
  41. mbstring: mbstring is installed, but iconv is not.
  42. + +
  43. iconv: iconv is installed, but mbstring is not.
  44. + +
  45. 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.
  46. + + + +
  47. Tidy: You have Tidy support installed. No problems here.
  48. + +
  49. Tidy: The Tidy extension is not available. should still work with most feeds, but you may experience problems with some.
  50. + + + +
  51. cURL: You have cURL support installed. No problems here.
  52. + +
  53. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  54. + + + +
  55. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  56. + +
  57. 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.
  58. + + + +
  59. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  60. + + + +
  61. Parse ini files function : Bad luck : your webhost has decided to block the use of the parse_ini_file function. will not work here. +
  62. GetText: The gettext extension is not available. The system we use to display wallabag in various languages is not available. will not work here.
  63. @@ -340,7 +352,7 @@ if (isset($_GET['from'])){
    - +

    Bottom Line: Yes, you can!

    Your webhost has its act together!

    @@ -351,7 +363,7 @@ if (isset($_GET['from'])){

    Note: Passing this test does not guarantee that will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.

    - +

    Bottom Line: Yes, you can!

    For most feeds, it'll run with no problems. There are certain languages that you might have a hard time with though.