Skip to content

Commit

Permalink
Remove php-imap extension
Browse files Browse the repository at this point in the history
  • Loading branch information
bytestream authored Jan 31, 2025
1 parent 2561ff8 commit 22954ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/linux/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ install_php_rhel() {
install_rpm "https://dl.fedoraproject.org/pub/epel/epel-release-latest-${os_version}.noarch.rpm"
install_rpm "https://rpms.remirepo.net/enterprise/remi-release-${os_version}.rpm"
dnf -y module reset php && dnf -y module enable "php:remi-${php_version}"
dnf -y install php php-fpm php-bcmath php-gd php-mbstring php-mysql php-xml php-imap php-ldap php-zip
dnf -y install php php-fpm php-bcmath php-gd php-mbstring php-mysql php-xml php-ldap php-zip

if [[ -x "$(command -v getenforce)" ]] && [[ "$(getenforce | awk '{ print tolower($0) }')" != "disabled" ]]; then
# Some RHEL (Alma) don't include semanage in the baseos repo.
Expand Down Expand Up @@ -318,7 +318,7 @@ install_php() {

apt-get install -y "php${php_version}" "php${php_version}-fpm" "php${php_version}-dom" \
"php${php_version}-gd" "php${php_version}-mbstring" "php${php_version}-mysql" "php${php_version}-xml" \
"php${php_version}-curl" "php${php_version}-bcmath" "php${php_version}-ldap" "php${php_version}-imap" \
"php${php_version}-curl" "php${php_version}-bcmath" "php${php_version}-ldap" \
"php${php_version}-zip" "php${php_version}-intl"

configure_php_fpm www-data "/etc/php/${php_version}/fpm/pool.d/supportpal.conf"
Expand Down

0 comments on commit 22954ac

Please sign in to comment.