💾 Archived View for bbs.geminispace.org › s › Gemini › 14324 captured on 2024-05-12 at 17:50:03. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-10)

➡️ Next capture (2024-06-16)

-=-=-=-=-=-=-

Gemini & PHP

Is there a good way to integrate/use PHP with a Gemini server and what server should I choose for that?

Can I use Agate for this?

Posted in: s/Gemini

🚂 MrSVCD

Jan 24 · 4 months ago

5 Comments ↓

🚀 eapl · Jan 24 at 15:14:

Well, I updated a bit a gemini-php project a few years ago. Sadly my VPS self-destroyed, and I don't have it anymore, so I can't say if that code works, but I think it's a good starting point: https://github.com/eapl-gemugami/gemini-php

🚀 eapl · Jan 24 at 15:16:

I used that project to server files, never made any fancy integration, although was thinking of building the twtxt client there.

🕹️ skyjake [mod...] · Jan 24 at 16:18:

This by @chluehr is relevant here:

— farcaster.net/news/2023-11-29.gmi

🦉 scops · Jan 26 at 11:25:

There is also JAGS, which is based on gemini-php. somewhat advanced but still very simple to use: https://codeberg.org/codeandcreate/JAGS-PHP

💎 istvan · Jan 29 at 20:00:

You just run PHP as a CGI script. Make sure it starts with the right shebang to your PHP binary and you are good to go. Works fine in gmcapsule server.