...
In order to complete this upgrade, a repository (repo) with all of the dependencies must be installed. Listed below are the suggested repos for each operating system.
How to
...
Install:
Code Block | ||||
---|---|---|---|---|
| ||||
// ************* // Ubuntu 20 // ************* sudo add-apt-repository ppa:ondrej/php |
...
The mod only allows a single PHP version running on the server and will interfere with php-fpm.
How to Remove:
Code Block | ||||
---|---|---|---|---|
| ||||
// ************* // Ubuntu 20 // ************* sudo apt remove libapache2-mod-php7.4 |
Setup
Install and Enable PHP 8.1, PHP_FPM 8.1, and PHP_FPM 7.4
In order to complete this upgrade, a repository (repo) with all of the dependencies must be installed. Listed below are the suggested repos for each operating system.
How to Install:
Code Block | ||||
---|---|---|---|---|
| ||||
// *************
// Ubuntu 20
// *************
sudo apt install php8.1 php8.1-fpm php8.0-fpm
a2enmod proxy_fcgi setenvifa2enmod proxy_fcgi setenvif
|