Installing
-
2. Enabling PPA Repo
Add PHP PPA for MX GNU/Linux
-
3. Installing LAMP
Now to Install LAMP PHP 8.x on MX
For the Default Setup play:sudo apt install apache2 php8.4 mariadb-server mariadb-client php8.4-mysql
This Setup includes also the most useful Extensions and Tools.
Then Test your new Php with:php -v
-
4. Searching PHP 8.4 Extensions
Again to Search PHP 8.4 Extensions.
So you can Search for the available PHP 8 Extensions running:
sudo apt search php8.4
And possibily refine the Result using a grep Pipe
sudo apt search php8.4 | grep [KEYWORD]
Like for instance:
sudo apt search php8.4 | grep mysql
Some useful Modules to Support a WordPress Website can be installed with:
sudo apt install php8.4-imagick php8.4-curl php8.4-gd php8.4-mbstring php8.4-xml php8.4-xmlrpc php8.4-soap php8.4-intl php8.4-zip
Last, to Install multiple Packages at once you may use the following Syntax:
sudo apt install php8.4-{curl,xml,imagick,mysql,fpm,bz2}
Contents