X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=wallabag_compatibility_test.php;h=3f9ff59f92d3937b576fcc25213941c46b80d37e;hb=e38e46ecdbb522d3ff296b36a46167c8fbfb501d;hp=fd2850420d0d0b794ad484c3a75127231a6fb536;hpb=38dafee05d52948fba4a06066d7b0343c8e3de9d;p=github%2Fwallabag%2Fwallabag.git diff --git a/wallabag_compatibility_test.php b/wallabag_compatibility_test.php index fd285042..3f9ff59f 100644 --- a/wallabag_compatibility_test.php +++ b/wallabag_compatibility_test.php @@ -1,16 +1,30 @@ + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +$app_name = 'wallabag'; $php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.3.3', '>=')); $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'); +$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'); +$gettext_ok = function_exists("gettext"); +$gd_ok = extension_loaded('gd'); + if (extension_loaded('xmlreader')) { $xml_ok = true; @@ -130,8 +144,6 @@ table#chart tr.enabled td { table#chart tr.disabled td, table#chart tr.disabled td a { - color:#999; - font-style:italic; } table#chart tr.disabled td a { @@ -154,12 +166,31 @@ div.chunk { background-color:transparent; font-style:italic; } + +.good{ +background-color:#52CC5B; +} +.bad{ +background-color:#F74343; +font-style:italic; +font-weight: bold; +} +.pass{ +background-color:#FF9500; +} + - +
@@ -176,59 +207,79 @@ div.chunk { PHP - 5.2.0 or higher - + 5.3.3 or higher + - + XML Enabled - + Enabled, and sane' : 'Disabled, or broken'; ?> PCRE Enabled - + Enabled' : 'Disabled'; ?> + + DOM / XML extension + Enabled + Enabled' : 'Disabled'; ?> + Data filtering Enabled - + Enabled' : 'Disabled'; ?> + + + GD + Enabled + Enabled' : 'Disabled'; ?> Tidy Enabled - + Enabled' : 'Disabled'; ?> cURL Enabled - + Enabled' : 'Disabled'; ?> + + Parse ini file + Enabled + Enabled' : 'Disabled'; ?> + Parallel URL fetching Enabled - + Enabled' : 'Disabled'; ?> allow_url_fopen Enabled - - + Enabled' : 'Disabled'; ?> + + + gettext + Enabled + Enabled' : 'Disabled'; ?> +
@@ -237,7 +288,7 @@ div.chunk {

What does this mean?

    - +
  1. You have everything you need to run properly! Congratulations!
  2. @@ -250,59 +301,86 @@ div.chunk {
  3. allow_url_fopen: You have allow_url_fopen 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. Gettext: You have gettext enabled. No problems here.
  24. + + +
  25. Parse ini: You can parse ini files. No problems here.
  26. + + +
  27. DOM/XML: You can parse ini files. No problems here.
  28. + + +
  29. Data filtering: You can use the PHP build-in DOM to operate on XML documents. No problems here.
  30. + + +
  31. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  32. + +
  33. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  34. + + + +
  35. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  36. + +
  37. mbstring: mbstring is installed, but iconv is not.
  38. + +
  39. iconv: iconv is installed, but mbstring is not.
  40. + +
  41. 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.
  42. + + + +
  43. GD: You have GD support installed. No problems here.
  44. + +
  45. GD: The GD extension is not available. will not be able to download pictures locally on your server.
  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. 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.
  62. + + + +
  63. Parse ini files function : Bad luck : your webhost has decided to block the use of the parse_ini_file function. will not work here. + - -
  64. cURL: You have cURL support installed. No problems here.
  65. - -
  66. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  67. - - - -
  68. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  69. - -
  70. 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.
  71. - - -
  72. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  73. - +
  74. GetText: The gettext extension is not available. The system we use to display wallabag in various languages is not available. will not work here.
  75. + -
  76. allow_url_fopen: Your PHP configuration has allow_url_fopen disabled. will not work here.
  77. +
  78. allow_url_fopen: Your PHP configuration has allow_url_fopen disabled. will not work here.
  79. -
  80. PCRE: Your PHP installation doesn't support Perl-Compatible Regular Expressions. will not work here.
  81. +
  82. PCRE: Your PHP installation doesn't support Perl-Compatible Regular Expressions. will not work here.
  83. -
  84. XML: Your PHP installation doesn't support XML parsing. will not work here.
  85. +
  86. XML: Your PHP installation doesn't support XML parsing. will not work here.
  87. -
  88. PHP: You are running an unsupported version of PHP. will not work here.
  89. +
  90. PHP: You are running an unsupported version of PHP. will not work here.
@@ -310,16 +388,26 @@ div.chunk {
- +

Bottom Line: Yes, you can!

Your webhost has its act together!

+

You can download the latest version of from wallabag.org.

+

If you already have done that, you should access the index.php file of your installation to configure and/or start using wallabag

+ +

You can now return to the installation section.

+

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.

+

You can download the latest version of from wallabag.org.

+

If you already have done that, you should access the index.php file of your installation to configure and/or start using wallabag

+ +

You can now return to the installation section.

+

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: We're sorry…