X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=wallabag_compatibility_test.php;h=da0786234291c8ba789609c3a53e0937fa0a547d;hb=2f3c05651e6013a28188d0e7fbf075011ed63e9e;hp=26dce018502a842796c50b6a954051fa3278a219;hpb=d0a599bbae7f64a15680e13faf009107f5fcb8fc;p=github%2Fwallabag%2Fwallabag.git diff --git a/wallabag_compatibility_test.php b/wallabag_compatibility_test.php index 26dce018..da078623 100644 --- a/wallabag_compatibility_test.php +++ b/wallabag_compatibility_test.php @@ -1,5 +1,14 @@ + * @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'); @@ -8,9 +17,11 @@ $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'); +$gettext_ok = function_exists("gettext"); if (extension_loaded('xmlreader')) { $xml_ok = true; @@ -130,8 +141,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 +163,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; +} + - +
@@ -177,58 +205,68 @@ div.chunk { PHP 5.3.3 or higher - + - + XML Enabled - + Enabled, and sane' : 'Disabled, or broken'; ?> PCRE Enabled - + Enabled' : 'Disabled'; ?> Data filtering 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 +275,7 @@ div.chunk {

What does this mean?

    - +
  1. You have everything you need to run properly! Congratulations!
  2. @@ -250,59 +288,72 @@ 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. Data filtering: You have the PHP filter extension enabled. No problems here.
  26. + + +
  27. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  28. + +
  29. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  30. + + + +
  31. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  32. + +
  33. mbstring: mbstring is installed, but iconv is not.
  34. + +
  35. iconv: iconv is installed, but mbstring is not.
  36. + +
  37. 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.
  38. + + + +
  39. Tidy: You have Tidy support installed. No problems here.
  40. + +
  41. Tidy: The Tidy extension is not available. should still work with most feeds, but you may experience problems with some.
  42. + + + +
  43. cURL: You have cURL support installed. No problems here.
  44. + +
  45. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  46. + + + +
  47. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  48. + +
  49. 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.
  50. + + + +
  51. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  52. + + + +
  53. Parse ini files function : Bad luck : your webhost has decided to block the use of the parse_ini_file function. will not work here. + - -
  54. cURL: You have cURL support installed. No problems here.
  55. - -
  56. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  57. - - - -
  58. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  59. - -
  60. 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.
  61. - - -
  62. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  63. - +
  64. GetText: The gettext extension is not available. The system we use to display wallabag in various languages is not available. will not work here.
  65. + -
  66. allow_url_fopen: Your PHP configuration has allow_url_fopen disabled. will not work here.
  67. +
  68. allow_url_fopen: Your PHP configuration has allow_url_fopen disabled. will not work here.
  69. -
  70. PCRE: Your PHP installation doesn't support Perl-Compatible Regular Expressions. will not work here.
  71. +
  72. PCRE: Your PHP installation doesn't support Perl-Compatible Regular Expressions. will not work here.
  73. -
  74. XML: Your PHP installation doesn't support XML parsing. will not work here.
  75. +
  76. XML: Your PHP installation doesn't support XML parsing. will not work here.
  77. -
  78. PHP: You are running an unsupported version of PHP. will not work here.
  79. +
  80. PHP: You are running an unsupported version of PHP. will not work here.
@@ -310,16 +361,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…