File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -14,24 +14,25 @@ if [[ $use_shared_storage == "true" ]]; then
1414 echo " NFS share mounted."
1515 cd ${drupal_shared_working_dir}
1616else
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/
1919fi
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
2324if [[ $use_shared_storage == " true" ]]; then
24- tar zxvf tar.gz --directory ${drupal_shared_working_dir}
25+ tar zxvf drupal. tar.gz --directory ${drupal_shared_working_dir}
2526 cp -r ${drupal_shared_working_dir} /drupal-* /* ${drupal_shared_working_dir}
2627 rm -rf ${drupal_shared_working_dir} /drupal-*
2728 cp ${drupal_shared_working_dir} /sites/default/default.settings.php sites/default/settings.php
2829else
29- tar zxvf tar.gz
30- rm -rf html/ tar.gz
30+ tar zxvf drupal. tar.gz
31+ rm -rf html/ drupal. tar.gz
3132 mv drupal-* html
3233 cd html
3334 cp sites/default/default.settings.php sites/default/settings.php
34- fi
35+ fi
3536
3637if [[ $use_shared_storage == " true" ]]; then
3738 echo " ... Changing /etc/httpd/conf/httpd.conf with Document set to new shared NFS space ..."
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ echo "MySQL Shell successfully installed !"
1818
1919if [[ $( uname -r | sed ' s/^.*\(el[0-9]\+\).*$/\1/' ) == " el8" ]]
2020then
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
2323else
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
2626fi
2727
You can’t perform that action at this time.
0 commit comments