docs: refers missing php tokenizer dependency (#6577)
Co-authored-by: Alexis Saettler <alexis@saettler.org>
This commit is contained in:
committed by
GitHub
parent
0a6544e71e
commit
2e63f05f16
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user