Table of Contents

Gemini-PHP

A Gemini server written in PHP. This code is designed to be simple to understand (we'll use it in our socket programming workshops). If you have any questions or want to get in touch, you can join our community on Matrix at #gemini-php:glasgow.social

Our offical Gemini page is gemini://glasgow.social/gemini-php

Download

You can view the source, download the latest tarball or git clone it via:

git clone https://coding.openguide.co.uk/git/gemini-php/

Getting Started

git clone https://coding.openguide.co.uk/git/gemini-php/
cd gemini-php
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
cp cert.pem certs/combined.pem
cat key.pem >> certs/combined.pem
cp config.php.sample config.php
php server.php