I'm doing some experimentation; setting up Hiawatha on a VPS using Ubuntu 16.04 LTS; primarily to see what works, what doesn't, and how to set it up.
Two questions:
First: In the default Hiawatha configuration page, under CGI settings, is there any thing about the following configuration that would negatively impact my PHP web applications?
Note that I have uncommented the FastCGIserver directives, and left the CGI directives commented out. And...
I have added UseFastCGI = PHP7 to the Default Website directive. I have tested it with a phpinfo.php file, and all the details seem to display as they should.
# COMMON GATEWAY INTERFACE (CGI) SETTINGS
# These settings can be used to run CGI applications.
#
#CGIhandler = /usr/bin/perl:pl
#CGIhandler = /usr/bin/php7.0:php
#CGIhandler = /usr/bin/python:py
#CGIhandler = /usr/bin/ruby:rb
#CGIhandler = /usr/bin/ssi-cgi:shtml
#CGIextension = cgi
#
FastCGIserver {
FastCGIid = PHP7
ConnectTo = /run/php/php7.0-fpm.sock
Extension = php
}
I need to do further testing, but I am moving rather slowly, and making notes, so that I can break the process down "Romper Room Style." So I thought I would ask before I get there if anyone knows of any "gotchas" with the above."
The final result desired is a tutorial that will walk an intelligent layman (solopreneur & small business) through the process of setting up a Wordpress site on the LHMP stack (Linux, Hiawatha, MariaDB, & PHP).
*****************
Second:
In addition to the tutorial, I'm composing a write-up on Hiawatha (why I use it, why I recommend it), and wonder if Hugo has a landing page type of "brochure" that gives a "why should you use Hiawatha over other popular web servers.
For my own part, it comes down to speed, security, and simplicity. Hiawatha is best overall when judged against these three criteria.
But I'd like to hear what you think.