Last active
December 9, 2024 07:00
-
-
Save thecodeholic/75468cd0553f0581582688dc12a90d25 to your computer and use it in GitHub Desktop.
Switch PHP Version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You must run this file with sudo | |
a2dismod php8.3 | |
a2enmod php8.4 | |
service apache2 restart | |
update-alternatives --set php /usr/bin/php8.4 | |
update-alternatives --set phar /usr/bin/phar8.4 | |
update-alternatives --set phar.phar /usr/bin/phar.phar8.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment