DEV Community

Muhajirin
Muhajirin

Posted on β€’ Edited on

1

Install PHP 8 on Arch Linux | Manjaro Linux

deprecated article

PHP 8 release on November 27, 2020 but Arch Linux official package didn't upgrade it in their official repository yet. It's because so many package that require PHP as their dependency didn't compatible yet with PHP 8. But as an Arch or Manjaro Linux users, we can install it via AUR.

1. Install missing dependencies

sudo pacman -S hspell nuspell libvoikko
Enter fullscreen mode Exit fullscreen mode

as addressed in this comment

2. Insall PHP 8 via AUR

  • using yay
yay -S php80
Enter fullscreen mode Exit fullscreen mode

all is well πŸ‘Œ

  • not using aur helper
git clone https://aur.archlinux.org/php80.git
cd php80
makepkg -Si
Enter fullscreen mode Exit fullscreen mode

all is well πŸ‘Œ


FYI, we can't install xdebug for PHP 8 from package manager neither AUR. If you need xdebug follow these instruction here

when you arrive in step to run ./configure don't forget to add --with-php-config=/usr/bin/php-config80. XDebug wizard doesn't warn us about it.

🍻

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay