Installing PHP
-
2. Installing PHP 8
Now to Install PHP 8 on openSUSE
For the latest available 8.x release simply play:sudo zypper install php8
This Setup includes also the most useful Extensions and Tools.
Then Test your new Php with:php -v
-
3. Searching PHP 8 Extensions
Again to Search PHP 8 Extensions.
So you can Search for the available PHP 8 Extensions running:
zypper search php8
And possibily refine the Result using a grep Pipe
zypper search php8 | grep [KEYWORD]
Like for instance:
zypper search php8 | grep mysql
Last, to Install multiple Packages at once you may use the following Syntax:
sudo zypper install php8-{curl,imagick,mysql,fpm,bz2}
Contents