Skip to content

Commit

Permalink
docs: refers missing php tokenizer dependency (#6577)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexis Saettler <[email protected]>
  • Loading branch information
SimonVanacco and asbiin authored Nov 5, 2023
1 parent 0a6544e commit 2e63f05
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 49 deletions.
33 changes: 17 additions & 16 deletions docs/installation/providers/cpanel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
35 changes: 18 additions & 17 deletions docs/installation/providers/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
33 changes: 17 additions & 16 deletions docs/installation/providers/generic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 2e63f05

Please sign in to comment.