You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
contributors: Steven Spencer, Ganna Zhyrnova, Joseph Brinkman
5
-
tested_with: 8.9, 9.3
4
+
contributors: Steven Spencer, Ganna Zhyrnova
5
+
tested_with: 8.9
6
6
tags:
7
7
- web
8
8
- php
@@ -11,7 +11,11 @@ tags:
11
11
12
12
# PHP and PHP-FPM
13
13
14
-
**PHP** (**P**HP **H**ypertext **P**reprocessor) is a source scripting language, specially designed for web application development. In 2024, PHP represented a little less than 80% of the web pages generated in the world. PHP is open-source and is the core of the most famous CMS (WordPress, Drupal, Joomla!, Magento, ...).
14
+
!!! warning "Written for Rocky Linux 8.x"
15
+
16
+
This procedure was initially published when Rocky Linux 8.x was the only version. This procedure must tested and rewritten for Rocky Linux 9.x.
17
+
18
+
**PHP** (**P**HP **H**ypertext **P**reprocessor) is a source scripting language, specially designed for web application development. In 2021, PHP represented a little less than 80% of the web pages generated in the world. PHP is open-source and is the core of the most famous CMS (WordPress, Drupal, Joomla!, Magento, ...).
15
19
16
20
**PHP-FPM** (**F**astCGI **P**rocess **M**anager) is integrated to PHP since its version 5.3.3. The FastCGI version of PHP brings additional functionalities.
17
21
@@ -39,85 +43,47 @@ Rocky Linux, like its upstream, offers many versions of the language. Some of th
39
43
40
44
To obtain a list of available versions, simply enter the following command:
41
45
42
-
=== "9.0"
43
-
44
-
```bash { .sh data-copy="sudo dnf module list php" }
Once the Remi repository is installed, enable it by running the following command.
63
-
64
-
```bash
65
-
sudo dnf config-manager --set-enabled remi
66
-
```
67
-
68
-
You can now activate a newer module (PHP 8.3) by entering the following command:
69
-
70
-
```bash
71
-
sudo dnf module enable php:8.3
72
-
```
73
-
74
-
=== "8.9"
75
-
76
-
Rocky Linux, like its upstream, offers many versions of the language. Some of them have reached the end of their life but are kept to continue hosting historical applications that are not yet compatible with new versions of PHP. Please refer to the [supported versions](https://www.php.net/supported-versions.php) page of the php.net website to choose a supported version.
77
-
78
-
To obtain a list of available versions, simply enter the following command:
79
-
80
-
```bash { .sh data-copy="sudo dnf module list php" }
81
-
$ sudo dnf module list php
82
-
83
-
Rocky Linux 8 - AppStream
84
-
Name Stream Profiles Summary
85
-
php 7.2 [d] common [d], devel, minimal PHP scripting language
86
-
php 7.3 common [d], devel, minimal PHP scripting language
87
-
php 7.4 common [d], devel, minimal PHP scripting language
88
-
php 8.0 common [d], devel, minimal PHP scripting language
During installation you will be prompted to import GPG keys for the epel9 (Extra Packages for Enterprise Linux 9) and Remi repositories, enter y to import the keys:
0 commit comments