From c95b78a8ceb918f033f3dd6c26aa7da4a8a527dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 28 Jan 2014 10:36:04 +0100 Subject: poche is dead, welcome wallabag --- wallabag_compatibility_test.php | 339 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 339 insertions(+) create mode 100644 wallabag_compatibility_test.php (limited to 'wallabag_compatibility_test.php') diff --git a/wallabag_compatibility_test.php b/wallabag_compatibility_test.php new file mode 100644 index 00000000..49c4e3b8 --- /dev/null +++ b/wallabag_compatibility_test.php @@ -0,0 +1,339 @@ +=')); +$pcre_ok = extension_loaded('pcre'); +$zlib_ok = extension_loaded('zlib'); +$mbstring_ok = extension_loaded('mbstring'); +$iconv_ok = extension_loaded('iconv'); +$tidy_ok = function_exists('tidy_parse_string'); +$curl_ok = function_exists('curl_exec'); +$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'); + +if (extension_loaded('xmlreader')) { + $xml_ok = true; +} elseif (extension_loaded('xml')) { + $parser_check = xml_parser_create(); + xml_parse_into_struct($parser_check, '&', $values); + xml_parser_free($parser_check); + $xml_ok = isset($values[0]['value']); +} else { + $xml_ok = false; +} + +header('Content-type: text/html; charset=UTF-8'); + +?> + + + +<?php echo $app_name; ?>: Server Compatibility Test + + + + + + + +
+
+ +
+

: Compatibility Test

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TestShould BeWhat You Have
PHP5.2.0 or higher
XMLEnabled
PCREEnabled
Data filteringEnabled
TidyEnabled
cURLEnabled
Parallel URL fetchingEnabled
allow_url_fopenEnabled
+
+ +
+

What does this mean?

+
    + + +
  1. You have everything you need to run properly! Congratulations!
  2. + + +
  3. PHP: You are running a supported version of PHP. No problems here.
  4. + +
  5. XML: You have XMLReader support or a version of XML support that isn't broken installed. No problems here.
  6. + +
  7. PCRE: You have PCRE support installed. No problems here.
  8. + + +
  9. allow_url_fopen: You have allow_url_fopen enabled. No problems here.
  10. + + +
  11. Data filtering: You have the PHP filter extension enabled. No problems here.
  12. + + +
  13. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  14. + +
  15. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  16. + + + +
  17. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  18. + +
  19. mbstring: mbstring is installed, but iconv is not.
  20. + +
  21. iconv: iconv is installed, but mbstring is not.
  22. + +
  23. 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.
  24. + + + +
  25. Tidy: You have Tidy support installed. No problems here.
  26. + +
  27. Tidy: The Tidy extension is not available. should still work with most feeds, but you may experience problems with some.
  28. + + + +
  29. cURL: You have cURL support installed. No problems here.
  30. + +
  31. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  32. + + + +
  33. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  34. + +
  35. 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.
  36. + + + +
  37. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  38. + + + +
  39. allow_url_fopen: Your PHP configuration has allow_url_fopen disabled. will not work here.
  40. + + + +
  41. PCRE: Your PHP installation doesn't support Perl-Compatible Regular Expressions. will not work here.
  42. + + +
  43. XML: Your PHP installation doesn't support XML parsing. will not work here.
  44. + + +
  45. PHP: You are running an unsupported version of PHP. will not work here.
  46. + + +
+
+ +
+ + +

Bottom Line: Yes, you can!

+

Your webhost has its act together!

+

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

+

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.

+

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…

+

Your webhost does not support the minimum requirements for . It may be a good idea to contact your webhost and point them to the results of this test. They may be able to enable/install the required components.

+ +
+ +
+

This compatibility test has been borrowed (and slightly adapted by fivefilters.org) from the one supplied by SimplePie.org.

+
+ +
+ +
+ + + \ No newline at end of file -- cgit v1.2.3 From 1e1fd6f24da7b7bf08f7b26956a9467477265fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 3 Feb 2014 12:43:34 +0100 Subject: [add] link to test file when we install wallabag #392 --- wallabag_compatibility_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wallabag_compatibility_test.php') diff --git a/wallabag_compatibility_test.php b/wallabag_compatibility_test.php index 49c4e3b8..fd285042 100644 --- a/wallabag_compatibility_test.php +++ b/wallabag_compatibility_test.php @@ -1,5 +1,5 @@ =')); $pcre_ok = extension_loaded('pcre'); -- cgit v1.2.3