Skip to content

Commit 1cda41a

Browse files
committed
Update PHP and latest Drupal changes
Update PHP and latest Drupal changes
1 parent 0e9c0f5 commit 1cda41a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

scripts/install_drupal.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ if [[ $use_shared_storage == "true" ]]; then
1414
echo "NFS share mounted."
1515
cd ${drupal_shared_working_dir}
1616
else
17-
echo "No mount NFS share. Moving to /var/www/html"
18-
cd /var/www/
17+
echo "No mount NFS share. Moving to /var/www/html"
18+
cd /var/www/
1919
fi
2020

21-
wget https://www.drupal.org/download-latest/tar.gz
21+
#To download latest drupal
22+
wget https://www.drupal.org/download-latest/tar.gz -O drupal.tar.gz
2223

2324
if [[ $use_shared_storage == "true" ]]; then
2425
tar zxvf tar.gz --directory ${drupal_shared_working_dir}
@@ -31,7 +32,7 @@ else
3132
mv drupal-* html
3233
cd html
3334
cp sites/default/default.settings.php sites/default/settings.php
34-
fi
35+
fi
3536

3637
if [[ $use_shared_storage == "true" ]]; then
3738
echo "... Changing /etc/httpd/conf/httpd.conf with Document set to new shared NFS space ..."

scripts/install_php74.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ echo "MySQL Shell successfully installed !"
1818

1919
if [[ $(uname -r | sed 's/^.*\(el[0-9]\+\).*$/\1/') == "el8" ]]
2020
then
21-
dnf -y module enable php:remi-8.2
21+
dnf -y module enable php:remi-8.4
2222
dnf -y install php php-cli php-mysqlnd php-zip php-gd php-mcrypt php-mbstring php-xml php-json php-opcache
2323
else
24-
yum-config-manager --enable remi-php82
24+
yum-config-manager --enable remi-php84
2525
yum -y install php php-cli php-mysqlnd php-zip php-gd php-mcrypt php-mbstring php-xml php-json php-opcache
2626
fi
2727

0 commit comments

Comments
 (0)