diff options
author | rfolo9li <50079896+rfolo9li@users.noreply.github.com> | 2019-11-09 15:24:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-09 15:24:10 +0100 |
commit | 54b065c253ce650344004ef629a6cab1404fdd2b (patch) | |
tree | e1c88fc2b4c269e890c612183e3c1698db9afe57 /doc | |
parent | 4b15c49198ef4be57b2ccb3d9033035a16d3b20c (diff) | |
download | Shaarli-54b065c253ce650344004ef629a6cab1404fdd2b.tar.gz Shaarli-54b065c253ce650344004ef629a6cab1404fdd2b.tar.zst Shaarli-54b065c253ce650344004ef629a6cab1404fdd2b.zip |
Added php-json as required PHP module
Without php-json the installation stops with a white screen and the following error:
> 09-Nov-2019 14:05:46 UTC] PHP Fatal error: Uncaught Error: Call to undefined function Shaarli\Config\json_encode() in /var/www/html/shaarli/application/config/ConfigJson.php:48
> Stack trace:
> #0 /var/www/html/shaarli/application/config/ConfigManager.php(239): Shaarli\Config\ConfigJson->write('data/config.jso...', Array)
> #1 /var/www/html/shaarli/index.php(1835): Shaarli\Config\ConfigManager->write(false)
> #2 /var/www/html/shaarli/index.php(178): install(Object(Shaarli\Config\ConfigManager), Object(Shaarli\Security\SessionManager), Object(Shaarli\Security\LoginManager))
> #3 {main}
> thrown in /var/www/html/shaarli/application/config/ConfigJson.php on line 48
Tested with Shaarli 0.10.4 on CentOS 8 with Httpd 2.4.37 and PHP 7.2.11.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/md/Server-configuration.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/md/Server-configuration.md b/doc/md/Server-configuration.md index 88eed8e6..b9ac01cb 100644 --- a/doc/md/Server-configuration.md +++ b/doc/md/Server-configuration.md | |||
@@ -28,12 +28,12 @@ Version | Status | Shaarli compatibility | |||
28 | Extension | Required? | Usage | 28 | Extension | Required? | Usage |
29 | ---|:---:|--- | 29 | ---|:---:|--- |
30 | [`openssl`](http://php.net/manual/en/book.openssl.php) | All | OpenSSL, HTTPS | 30 | [`openssl`](http://php.net/manual/en/book.openssl.php) | All | OpenSSL, HTTPS |
31 | [`php-json`](http://php.net/manual/en/book.json.php) | required | ? | ||
31 | [`php-mbstring`](http://php.net/manual/en/book.mbstring.php) | CentOS, Fedora, RHEL, Windows, some hosting providers | multibyte (Unicode) string support | 32 | [`php-mbstring`](http://php.net/manual/en/book.mbstring.php) | CentOS, Fedora, RHEL, Windows, some hosting providers | multibyte (Unicode) string support |
32 | [`php-gd`](http://php.net/manual/en/book.image.php) | optional | required to use thumbnails | 33 | [`php-gd`](http://php.net/manual/en/book.image.php) | optional | required to use thumbnails |
33 | [`php-intl`](http://php.net/manual/en/book.intl.php) | optional | localized text sorting (e.g. `e->è->f`) | 34 | [`php-intl`](http://php.net/manual/en/book.intl.php) | optional | localized text sorting (e.g. `e->è->f`) |
34 | [`php-curl`](http://php.net/manual/en/book.curl.php) | optional | using cURL for fetching webpages and thumbnails in a more robust way | 35 | [`php-curl`](http://php.net/manual/en/book.curl.php) | optional | using cURL for fetching webpages and thumbnails in a more robust way |
35 | [`php-gettext`](http://php.net/manual/en/book.gettext.php) | optional | Use the translation system in gettext mode (faster) | 36 | [`php-gettext`](http://php.net/manual/en/book.gettext.php) | optional | Use the translation system in gettext mode (faster) |
36 | |||
37 | -------------------------------------------------------------------------------- | 37 | -------------------------------------------------------------------------------- |
38 | 38 | ||
39 | ### SSL/TLS configuration | 39 | ### SSL/TLS configuration |