Skip to content

Commit 82fea5d

Browse files
committed
Fix Linux distribution titles
1 parent 354b3ef commit 82fea5d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

_posts/01-06-01-Linux-Setup.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ anchor: linux_setup
77

88
Most GNU/Linux distributions come with PHP available from the official repositories, but those packages usually are a little behind the current stable version. There are multiple ways to get newer PHP versions on such distributions.
99

10-
## Debian-based distributions
10+
### Ubuntu-based distributions
1111

1212
On Ubuntu and Debian-based GNU/Linux distributions, for instance, the best alternatives for native packages are provided and maintened by [Ondřej Surý][Ondrej Sury Blog], through his Personal Package Archive (PPA) on Ubuntu and DPA/bikeshed on Debian. Find instructions for each of these below.
1313

14-
### Ubuntu-based distributions
15-
1614
For Ubuntu distributions, the [PPA by Ondřej Surý][Ondrej Sury PPA] provides supported PHP versions along with many PECL extensions. To add this PPA to your system, perform the following steps in your terminal:
1715

1816
1. First, add the PPA to your system's software sources using the command:
@@ -29,7 +27,7 @@ For Ubuntu distributions, the [PPA by Ondřej Surý][Ondrej Sury PPA] provides s
2927

3028
This will ensure that your system can access and install the latest PHP packages available in the PPA.
3129

32-
### Debian and other Debian-based distributions
30+
### Debian-based distributions
3331

3432
For Debian-based distributions, Ondřej Surý also provides a [bikeshed][bikeshed] (Debian equivalent of a PPA). To add the bikeshed to your system and update it, follow these steps:
3533

@@ -67,7 +65,7 @@ For Debian-based distributions, Ondřej Surý also provides a [bikeshed][bikeshe
6765

6866
With these steps, your system will be able to install the latest PHP packages from the bikeshed.
6967

70-
## RPM-based distributions
68+
### RPM-based distributions
7169

7270
On RPM-based distributions (CentOS, Fedora, RHEL, etc.) you can use the [Remi's RPM repository][remi-repo] to install the latest PHP version or to have multiple PHP versions simultaneously available.
7371

0 commit comments

Comments
 (0)