X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=bin%2Fcompatibility.php;fp=bin%2Fcompatibility.php;h=0000000000000000000000000000000000000000;hb=93fd4692f6eb753cae16358131c8049d84cfbb41;hp=61a8e99f0df54f82533ef1c8f4b5e57d58f6491c;hpb=0440249631164a378981d014bf71b617c082bf5a;p=github%2Fwallabag%2Fwallabag.git diff --git a/bin/compatibility.php b/bin/compatibility.php deleted file mode 100644 index 61a8e99f..00000000 --- a/bin/compatibility.php +++ /dev/null @@ -1,427 +0,0 @@ - - * @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; -} 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

- - - - - - - - - - - - - - - - - - Enabled, and sane' : ' - - - - - Enabled' : ' - - - - - - - - Enabled' : ' - - - - - Enabled' : ' - - - - - Enabled' : ' - - - - - Enabled' : ' - - - - - Enabled' : ' - - - - - Enabled' : ' - - - - - Enabled' : ' - - - - - Enabled' : ' - - - - - Enabled' : ' - - -
TestShould BeWhat You Have
PHP5.3.3 or higher
XMLEnabledDisabled, or broken'; ?>
PCREEnabledDisabled'; ?>
DOM / XML extensionEnabledDisabled'; ?>
Data filteringEnabledDisabled'; ?>
GDEnabledDisabled'; ?>
TidyEnabledDisabled'; ?>
cURLEnabledDisabled'; ?>
Parse ini fileEnabledDisabled'; ?>
Parallel URL fetchingEnabledDisabled'; ?>
allow_url_fopenEnabledDisabled'; ?>
gettextEnabledDisabled'; ?>
-
- -
-

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. Gettext: You have gettext enabled. No problems here.
  12. - - -
  13. Parse ini: You can parse ini files. No problems here.
  14. - - -
  15. DOM/XML: You can parse ini files. No problems here.
  16. - - -
  17. Data filtering: You can use the PHP build-in DOM to operate on XML documents. No problems here.
  18. - - -
  19. Zlib: You have Zlib enabled. This allows SimplePie to support GZIP-encoded feeds. No problems here.
  20. - -
  21. Zlib: The Zlib extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.
  22. - - - -
  23. mbstring and iconv: You have both mbstring and iconv installed! This will allow to handle the greatest number of languages. No problems here.
  24. - -
  25. mbstring: mbstring is installed, but iconv is not.
  26. - -
  27. iconv: iconv is installed, but mbstring is not.
  28. - -
  29. 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.
  30. - - - -
  31. GD: You have GD support installed. No problems here.
  32. - -
  33. GD: The GD extension is not available. will not be able to download pictures locally on your server.
  34. - - - -
  35. Tidy: You have Tidy support installed. No problems here.
  36. - -
  37. Tidy: The Tidy extension is not available. should still work with most feeds, but you may experience problems with some. You can install it with sudo apt-get install php5-tidy and then reload Apache sudo service apache2 reload.
  38. - - - -
  39. cURL: You have cURL support installed. No problems here.
  40. - -
  41. cURL: The cURL extension is not available. SimplePie will use fsockopen() instead.
  42. - - - -
  43. Parallel URL fetching: You have HttpRequestPool or curl_multi support installed. No problems here.
  44. - -
  45. 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.
  46. - - - -
  47. Data filtering: Your PHP configuration has the filter extension disabled. will not work here.
  48. - - - -
  49. 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.
  50. - - - -
  51. Parse ini files function : Bad luck : your webhost has decided to block the use of the parse_ini_file function. will not work here. - - - -
  52. GetText: The gettext extension is not available. The system we use to display wallabag in various languages is not available. will not work here.
  53. - - - -
  54. allow_url_fopen: Your PHP configuration has allow_url_fopen disabled. will not work here.
  55. - - - -
  56. PCRE: Your PHP installation doesn't support Perl-Compatible Regular Expressions. will not work here.
  57. - - -
  58. XML: Your PHP installation doesn't support XML parsing. will not work here.
  59. - - -
  60. PHP: You are running an unsupported version of PHP. will not work here.
  61. - - -
-
- -
- - -

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…

-

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.

-
- -
- -
- - -