From 2e63f05f167cbc287e8efb6da8d9f30fa4e94452 Mon Sep 17 00:00:00 2001 From: Simon Van Accoleyen Date: Sun, 5 Nov 2023 10:57:00 +0100 Subject: [PATCH] docs: refers missing php tokenizer dependency (#6577) Co-authored-by: Alexis Saettler --- docs/installation/providers/cpanel.md | 33 ++++++++++++------------ docs/installation/providers/debian.md | 35 +++++++++++++------------- docs/installation/providers/generic.md | 33 ++++++++++++------------ 3 files changed, 52 insertions(+), 49 deletions(-) diff --git a/docs/installation/providers/cpanel.md b/docs/installation/providers/cpanel.md index 9043bad0a..891c22e6a 100644 --- a/docs/installation/providers/cpanel.md +++ b/docs/installation/providers/cpanel.md @@ -23,22 +23,23 @@ Monica can be configured in shared hosting environments with a little difference **PHP:** Install php8.1 minimum. Generally cPanel will have a PHP 7 version installed, verify under the 'PHP Version' section from the cPanel section. Make sure these extensions are enabled: -- bcmath -- curl -- dom -- gd -- gmp -- iconv -- intl -- json -- mbstring -- mysqli -- opcache -- pdo_mysql -- redis -- sodium -- xml -- zip +- bcmath +- curl +- dom +- gd +- gmp +- iconv +- intl +- json +- mbstring +- mysqli +- opcache +- pdo_mysql +- redis +- sodium +- tokenizer +- xml +- zip In most cases, this will be under the section called 'PHP Version' in cPanel where you can enable and disable modules. diff --git a/docs/installation/providers/debian.md b/docs/installation/providers/debian.md index a45b513d8..a5257b2f4 100644 --- a/docs/installation/providers/debian.md +++ b/docs/installation/providers/debian.md @@ -53,27 +53,28 @@ sudo apt update Install PHP 8.1 with these extensions: -- bcmath -- curl -- dom -- gd -- gmp -- iconv -- intl -- json -- mbstring -- mysqli -- opcache -- pdo_mysql -- redis -- sodium -- xml -- zip +- bcmath +- curl +- dom +- gd +- gmp +- iconv +- intl +- json +- mbstring +- mysqli +- opcache +- pdo_mysql +- redis +- sodium +- tokenizer +- xml +- zip Run: ```sh sudo apt install -y php8.1 php8.1-bcmath php8.1-curl php8.1-gd php8.1-gmp \ - php8.1-intl php8.1-mbstring php8.1-mysql php8.1-redis php8.1-xml php8.1-zip + php8.1-intl php8.1-mbstring php8.1-mysql php8.1-redis php8.1-tokenizer php8.1-xml php8.1-zip ``` **Composer:** After you're done installing PHP, you'll need the Composer dependency manager. diff --git a/docs/installation/providers/generic.md b/docs/installation/providers/generic.md index a84b24eed..4499e39a4 100644 --- a/docs/installation/providers/generic.md +++ b/docs/installation/providers/generic.md @@ -31,22 +31,23 @@ If you don't want to use Docker, the best way to setup the project is to use the **PHP:** Install php8.1 minimum, with these extensions: -- bcmath -- curl -- dom -- gd -- gmp -- iconv -- intl -- json -- mbstring -- mysqli -- opcache -- pdo_mysql -- redis -- sodium -- xml -- zip +- bcmath +- curl +- dom +- gd +- gmp +- iconv +- intl +- json +- mbstring +- mysqli +- opcache +- pdo_mysql +- redis +- sodium +- tokenizer +- xml +- zip **Composer:** After you're done installing PHP, you'll need the Composer dependency manager. It is not enough to just install Composer, you also need to make sure it is installed globally for Monica's installation to run smoothly: