Differences
This shows you the differences between two versions of the page.
| install_rasberry_trixie [2026/03/05 14:20] – created system | install_rasberry_trixie [2026/03/05 14:23] (current) – system | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| * We will install a program (actually a service) called **php-fpm**. | * We will install a program (actually a service) called **php-fpm**. | ||
| * This service will listen for requests to interpret. | * This service will listen for requests to interpret. | ||
| - | * Install the php-fpm service by installing the default version 8.2 of the packages | + | * Install the php-fpm service by installing the default version 8.4 of the packages |
| <code bash> | <code bash> | ||
| sudo apt-get -y install php-fpm | sudo apt-get -y install php-fpm | ||
| - | sudo systemctl enable php8.2-fpm | + | sudo systemctl enable php8.4-fpm |
| - | sudo systemctl start php8.2-fpm | + | sudo systemctl start php8.4-fpm |
| </ | </ | ||
| ===== Modify Nginx ===== | ===== Modify Nginx ===== | ||
| Line 43: | Line 43: | ||
| index index.php index.html index.htm index.nginx-debian.html; | index index.php index.html index.htm index.nginx-debian.html; | ||
| </ | </ | ||
| - | * Enable PHP processing by leaving this section uncommented. Note that we are using the UNIX socket and that we are using 8.2 and not 7.4 as originally specified in the configuration file. | + | * Enable PHP processing by leaving this section uncommented. Note that we are using the UNIX socket and that we are using 8.4 and not 7.4 as originally specified in the configuration file. |
| <code bash> | <code bash> | ||
| # pass PHP scripts to FastCGI server | # pass PHP scripts to FastCGI server | ||
| Line 51: | Line 51: | ||
| # | # | ||
| # # With php-fpm (or other unix sockets): | # # With php-fpm (or other unix sockets): | ||
| - | fastcgi_pass unix:/ | + | fastcgi_pass unix:/ |
| # # With php-cgi (or other tcp sockets): | # # With php-cgi (or other tcp sockets): | ||
| # | # | ||
| Line 89: | Line 89: | ||
| * Be sure to provide a root password for the MariaDB database when prompted if you are security conscious, otherwise just hit the ESC key. | * Be sure to provide a root password for the MariaDB database when prompted if you are security conscious, otherwise just hit the ESC key. | ||
| <code bash> | <code bash> | ||
| - | sudo apt-get -y install mariadb-server php8.2-mysql | + | sudo apt-get -y install mariadb-server php8.4-mysql |
| sudo systemctl enable mariadb | sudo systemctl enable mariadb | ||
| sudo systemctl restart mariadb | sudo systemctl restart mariadb | ||
| Line 154: | Line 154: | ||
| <code bash> | <code bash> | ||
| sudo apt-get -y install php-cli php-mysql php-gd php-curl php-xml php-mbstring php-intl php-sqlite3 git wget | sudo apt-get -y install php-cli php-mysql php-gd php-curl php-xml php-mbstring php-intl php-sqlite3 git wget | ||
| - | sudo systemctl restart php8.2-fpm | + | sudo systemctl restart php8.4-fpm |
| </ | </ | ||
| * Check out the rdcore git repository. | * Check out the rdcore git repository. | ||