This is an old revision of the document!
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
You can view the source, download the latest tarball or git clone it via:
git clone https://coding.openguide.co.uk/git/gemini-php/
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
certs
directory* cp cert.pem certs/combined.pem * cat key.pem >> certs/combined.pem
cp config.php.sample config.php
certs/combined.pem
) - most other options are optionalphp server.php
hosts/default/index.gemini