Skip to content

Commit

Permalink
fix: Ensure php8.3-fpm service is correctly enabled and restarted (#1965
Browse files Browse the repository at this point in the history
)
  • Loading branch information
minutiae committed Apr 27, 2024
1 parent 7b209c3 commit 0c650b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/features/php8.3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ fi

export DEBIAN_FRONTEND=noninteractive

SERVICE_STATUS=$(systemctl is-enabled php8.3-fpm.service)

if [ "$SERVICE_STATUS" == "disabled" ];
then
systemctl enable php8.3-fpm
service php8.3-fpm restart
fi

if [ -f /home/$WSL_USER_NAME/.homestead-features/php83 ]
then
echo "PHP 8.3 already installed."
Expand Down

0 comments on commit 0c650b5

Please sign in to comment.