Installing PHP
-
2. Installing PHP 8.4
sudo pacman -Sy php
Last, Test your new Php with:
php -v
-
3. Searching PHP 8.4 Extensions
Again to Search PHP 8.4 Extensions.
So you can Search for the available PHP 8 Extensions running:
pacman -Ss php
And possibily refine the Result using a grep Pipe
pacman -Ss php | grep [KEYWORD]
Like for instance:
pacman -Ss php | grep mysql
-
4. Setting PHP Version
(Optional) In case to Manage Multiple PHP Versions on System
Use the Default CLI Tool:sudo update-alternatives --config php
Possibly to Install the Package:
sudo pacman -Sy dpkg
If more than One then Simply Choose the Right PHP Release Entry.
Contents