From e778ff2d185877c468281b219a4593ab24c19a1c Mon Sep 17 00:00:00 2001 From: Ruslan Baidan Date: Tue, 14 Mar 2023 17:43:43 +0100 Subject: [PATCH] Update INSTALL.rhel7.9.md Updated the php installation instructions. --- INSTALL/INSTALL.rhel7.9.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/INSTALL/INSTALL.rhel7.9.md b/INSTALL/INSTALL.rhel7.9.md index 3a1ec35..34de9d9 100644 --- a/INSTALL/INSTALL.rhel7.9.md +++ b/INSTALL/INSTALL.rhel7.9.md @@ -126,24 +126,28 @@ CREATE DATABASE monarc_common DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_ge [root@monarc fo]# rm composer-setup.php ``` -## Install PHP 7.4 +## Install PHP. Php 7.4 (command below) can be a working solutin but recommended 8.0 or 8.1 ```bash [root@monarc fo]# yum install php74-php-cli ``` -## Configure path +## Configure path (can be adjusted depending on the php version) ```bash [root@monarc fo]# export PATH=$PATH:/opt/remi/php74/root/usr/bin:/opt/remi/php74/root/usr/sbin [root@monarc fo]# ln -s /usr/bin/php74 /usr/bin/php ``` -## Update +## Apply PHP configuration settings in your php.ini + +https://github.com/monarc-project/MonarcAppFO/blob/master/vagrant/bootstrap.sh#L22-L26 + +## Update (The option --ignore-platform-req=php is used in case of php8.1) ```bash [root@monarc fo]# composer self-update -[root@monarc fo]# composer install -o +[root@monarc fo]# composer install -o --ignore-platform-req=php ``` ## Prepare Backend