PHP and gophernicus Mon, 17 Nov 2025 08:16:20 +0100 +-----------------------------------------------------------------+ I use a couple of php backends in my gopher hole, and they work as expected. To do this I added php as a filter in /usr/lib/gophernicus/filters. However I discovered that in order to also make php files available for download, I needed to add the .txt extension, or gophernicus would attempt to run the file instead of displaying it. I suppose I shouldn't use php as a filter and instead use it as a cgi script, but that could also introduce a security risk. So instead I've opened an anonymous ftp server: ftp://anonymous@spike.nagatha.fr/ While I was on this, I found that php isn't in my mime.types either. Searching around, I found this interesting article which explains all about it: https://cweiske.de/tagebuch/php-mimetype.htm ␌