💾 Archived View for bbs.geminispace.org › u › ps › 22192 captured on 2024-12-17 at 15:49:25. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

Comment by 👻 ps

Re: "Apache+PHP equivalent for Gemini?"

In: s/AskGemini

Wrote some PHP 8 / Composer server-side before. I even had started GTK client implementation in PHP, lol. Checkout these links to get code examples:

— yggverse.cities.yesterweb.org

Also, take a look at Ratchet library that provides well featured async socket API - it would cover 99% of your server-side needs:

— https://github.com/ratchetphp/Ratchet

👻 ps

Nov 25 · 3 weeks ago

1 Later Comment

💎 pista · Nov 26 at 14:20:

gmcapsule or anything else with CGI support. All you need to do is make your PHP scripts executable and start the file with a shebang pointing to the PHP binary.

The guestbook and text image generators at gemini://brainsocks.xyz all run on PHP.

Original Post

🌒 s/AskGemini

Apache+PHP equivalent for Gemini? — Is there any Gemini server software that allows for serving pages, but also allows for server-side scripting? I'm looking for whatever the equivalent to PHP might be in Gemini. I'd rather like to avoid having to modify the web server code itself.

💬 bababooey · 4 comments · Nov 25 · 3 weeks ago