Update INSTALL.debian10.md

Updated the documentation with the php settings.
pull/483/head
Ruslan Baidan 2023-03-14 17:48:15 +01:00 committed by GitHub
parent 859a2214fd
commit ab7f8ecd2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -54,13 +54,19 @@ Especially by setting a strong root password.
</VirtualHost> </VirtualHost>
## 1.4. Install PHP and dependencies ## 1.4. Install PHP and dependencies (It's recommended to install php8 or php8.1 and all the modules of the version).
# apt-get install php7.3 libapache2-mod-php7.3 php7.3-curl php7.3-gd php7.3-mysql php-apcu php7.3-xml php7.3-mbstring php7.3-intl php-imagick php7.3-zip # apt-get install php7.3 libapache2-mod-php7.3 php7.3-curl php7.3-gd php7.3-mysql php-apcu php7.3-xml php7.3-mbstring php7.3-intl php-imagick php7.3-zip
$ curl -sS https://getcomposer.org/installer -o composer-setup.php $ curl -sS https://getcomposer.org/installer -o composer-setup.php
# php composer-setup.php --install-dir=/usr/bin --filename=composer # php composer-setup.php --install-dir=/usr/bin --filename=composer
## Apply PHP configuration settings in your php.ini
https://github.com/monarc-project/MonarcAppFO/blob/master/vagrant/bootstrap.sh#L22-L26
## 1.5 Apply all changes ## 1.5 Apply all changes
# systemctl restart apache2.service # systemctl restart apache2.service