Skip to content

Instantly share code, notes, and snippets.

View Rusydy's full-sized avatar
🏠
Working from heaven and hell

Rusydy

🏠
Working from heaven and hell
View GitHub Profile
@michaelbutler
michaelbutler / Install_PHP_on_Arch_Manjaro.md
Last active July 19, 2024 07:28
Install multiple PHP versions on Arch / Manjaro Linux

Install Any PHP on Arch / Manjaro

Through the AUR it is possible to install older and newer PHP versions, simultaneously on the same system. I often had trouble installing using pacman and pamac so here's what I did:

mkdir -p $HOME/bin
mkdir ~/src
cd ~/src
git clone https://aur.archlinux.org/php81.git
cd php81
"use strict";
const data = require("./data"); //data.channels[n].id .name .last_update
const express = require("express");
const app = express();
app.use(express.json());
app.get("/api/channel", (req, res) => {
//return the list of channels
// respond with a 200