Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1004

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You should read the `CONTRIBUTING.md` file for precise instructions and tips. Bu

### Contributor Style Guide

1. Use American English spelling (*primary English repo only*).
1. Use American English spelling (_primary English repo only_).
2. Use four (4) spaces to indent text; do not use tabs.
3. Wrap all text to 120 characters.
4. Code samples should adhere to PSR-1 or higher.
Expand All @@ -47,7 +47,7 @@ You should read the `CONTRIBUTING.md` file for precise instructions and tips. Bu
* [Srpski](https://phpsrbija.github.io/php-the-right-way/)
* [Türkçe](https://hkulekci.github.io/php-the-right-way/)
* [български](https://bg.phptherightway.com)
* [Русский язык](https://getjump.github.io/ru-php-the-right-way)
* [Русский](https://nazares.github.io/php-the-right-way)
* [Українська](https://iflista.github.io/php-the-right-way/)
* [العربية](https://adaroobi.github.io/php-the-right-way/)
* [فارسى](https://novid.github.io/php-the-right-way/)
Expand Down
2 changes: 1 addition & 1 deletion _includes/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ _PHP: The Right Way_ is translated into many different languages:
* [Srpski](https://phpsrbija.github.io/php-the-right-way/)
* [Türkçe](https://hkulekci.github.io/php-the-right-way/)
* [български](https://bg.phptherightway.com)
* [Русский язык](https://getjump.github.io/ru-php-the-right-way)
* [Русский](https://nazares.github.io/php-the-right-way)
* [Українська](https://iflista.github.io/php-the-right-way/)
* [العربية](https://adaroobi.github.io/php-the-right-way/)
* [فارسى](https://novid.github.io/php-the-right-way/)
Expand Down
1 change: 0 additions & 1 deletion _posts/01-01-01-Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ anchor: getting_started
---

# Getting Started {#getting_started_title}

2 changes: 1 addition & 1 deletion _posts/01-04-01-Mac-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ And you can run `select` command to switch your active PHP:
[phpbrew] is a tool for installing and managing multiple PHP versions. This can be really useful if two different
applications/projects require different versions of PHP, and you are not using virtual machines.

### Install PHP via Liip's binary installer
### Install PHP via Liip's binary installer (DEPRECATED)

Another popular option is [php-osx.liip.ch] which provides one liner installation methods for versions 5.3 through 7.3.
It doesn't overwrite the PHP binaries installed by Apple, but installs everything in a separate location (/usr/local/php5).
Expand Down
11 changes: 11 additions & 0 deletions _posts/01-06-01-Linux-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ For Ubuntu distributions, the [PPA by Ondřej Surý][Ondrej Sury PPA] provides s

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

You can also switch between PHP versions by modifying your `PATH` variable. Alternatively, you can use [deb-sphp][deb-sphp] to switch PHP versions automatically.

You can also switch between PHP versions manually by updating-alternatives the wanted version:

```
sudo update-alternatives --set php /usr/bin/php8.2
sudo update-alternatives --set phar /usr/bin/phar8.2
sudo update-alternatives --set phar.phar /usr/bin/phar.phar8.2
```

#### Debian-based distributions

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:
Expand Down Expand Up @@ -66,3 +76,4 @@ With these steps, your system will be able to install the latest PHP packages fr
[Ondrej Sury Blog]: https://deb.sury.org/
[Ondrej Sury PPA]: https://launchpad.net/~ondrej/+archive/ubuntu/php
[bikeshed]: https://packages.sury.org/php/
[deb-sphp]: https://github.com/nazares/deb-sphp