Hi there,
I have a linode 1GB VPS, Debian 7, Hiawatha 9.14, MariaDB and PHP-FPM. It seems to be a very fast, simple and stable combination so I'm very grateful for all the hard work.
However, I have a couple of small problems with my 2 Wordpress installs. The one I'd like to get fixed first though is that both installs suffer from a "The connection was reset" error immediately after clicking the upload button in either plugins, or themes.
This does not seem to be a uplaod size issue as fpm is set to allow 20MB uploads and uploading a theme of 10M still causes the problem.
Also (might be related) when I try to install a plugin, theme or update, the browser does not update with the progress. there seems to be a definite time constraint on the process as my browser tab icon spins for around 5 seconds and then stops.
I hope the below is enough info.
My php5-fpm php.ini is here
http://pastebin.com/hLXTa2LXHere is my hiawatha.conf
# Hiawatha main configuration file
#
# VARIABLES
# With 'set', you can declare a variable. Make sure the name of the
# variable doesn't conflict with any of the configuration options. The
# variables are case-sensitive and cannot be redeclared.
#
#set LOCALHOST = 127.0.0.0/8
# GENERAL SETTINGS
#R
ServerId = www-data
ConnectionsTotal = 1000
ConnectionsPerIP = 25
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log
# BINDING SETTINGS
# A binding is where a client can connect to.
#
Binding {
Port = 80
# Interface = 127.0.0.1
MaxKeepAlive = 30
TimeForRequest = 3,20
}
#
#Binding {
# Port = 443
# Interface = ::1
# MaxKeepAlive = 30
# TimeForRequest = 3,20
# TLScertFile = hiawatha.pem
#}
# BANNING SETTINGS
# Deny service to clients who misbehave.
#
#BanOnGarbage = 300
#BanOnMaxPerIP = 60
#BanOnMaxReqSize = 300
#KickOnBan = yes
RebanDuringBan = yes
# COMMON GATEWAY INTERFACE (CGI) SETTINGS
# These settings can be used to run CGI applications.
#
#CGIhandler = /usr/bin/perl:pl
#CGIhandler = /usr/bin/php-cgi:php
#CGIhandler = /usr/bin/python:py
#CGIhandler = /usr/bin/ruby:rb
#CGIhandler = /usr/bin/ssi-cgi:shtml
#CGIextension = cgi
#
FastCGIserver {
FastCGIid = PHP5
ConnectTo = /var/lib/hiawatha/php5-fpm.sock
Extension = php
}
# URL TOOLKIT
# This URL toolkit rule was made for the Banshee PHP framework, which
# can be downloaded from http://www.hiawatha-webserver.org/banshee
#
#UrlToolkit {
# ToolkitID = banshee
# RequestURI isfile Return
# Match ^/(css|files|images|js|slimstat)($|/) Return
# Match ^/(favicon.ico|robots.txt|sitemap.xml)$ Return
# Match .*\?(.*) Rewrite /index.php?$1
# Match .* Rewrite /index.php
#}
UrlToolkit {
ToolkitID = cache-control
Match ^/.*\.(css|eot|gif|htm|html|ico|jpeg|jpg|js|otf|pdf|png|ps|psd|svg|swf|ttf|txt|woff|woff2)(\?v=.*|\?ver=.*)?(/|$) Expire 1 weeks
}
#
UrlToolkit {
ToolkitID = wordpress
RequestURI exists Return
Match [^?]*(\?.*)? Rewrite /index.php$1
}
# DEFAULT WEBSITE
# It is wise to use your IP address as the hostname of the default website
# and give it a blank webpage. By doing so, automated webscanners won't find
# your possible vulnerable website.
#
Hostname = 127.0.0.1
WebsiteRoot = /var/www/hiawatha
StartFile = index.html
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
#ErrorHandler = 404:/error.cgi
# VIRTUAL HOSTS
# Use a VirtualHost section to declare the websites you want to host.
#
#VirtualHost {
# Hostname = www.my-domain.com
# WebsiteRoot = /var/www/my-domain/public
# StartFile = index.php
# AccessLogfile = /var/www/my-domain/log/access.log
# ErrorLogfile = /var/www/my-domain/log/error.log
# TimeForCGI = 5
# UseFastCGI = PHP5
# UseToolkit = banshee
#}
#2
VirtualHost {
Hostname = mydomain2.tld, *.mydomain2.tld
WebsiteRoot = /var/www/hiawatha/mydomain2.tld
StartFile = index.php
AccessLogfile = /var/www/hiawatha/mydomain2.tld/access.log
ErrorLogfile = /var/www/hiawatha/mydomain2.tld/error.log
TimeForCGI = 5
UseFastCGI = PHP5
UseToolKit = wordpress
}
#3
VirtualHost {
Hostname = mydomain.tld, www.mydomain.tld, *.mydomain.tld
WebsiteRoot = /var/www/hiawatha/website-dir
StartFile = index.php
AccessLogfile = /var/www/hiawatha/website-dir/access.log
ErrorLogfile = /var/www/hiawatha/website-dir/error.log
TimeForCGI = 5
UseFastCGI = PHP5
UseToolKit = wordpress
}
# DIRECTORY SETTINGS
# You can specify some settings per directory.
#
#Directory {
# Path = /home/baduser
# ExecuteCGI = no
# UploadSpeed = 10,2
#}
/var/log/hiawatha/error.log.
****My IP****|Sun 20 Sep 2015 13:16:40 +0100|/var/www/hiawatha/mydomain2.tld/wp-admin/plugin-install.php|CGI returned 500 Internal Error
****My IP****|Sun 20 Sep 2015 13:16:48 +0100|/var/www/hiawatha/mydomain2.tld/wp-admin/plugins.php|CGI returned 500 Internal Error
****My IP****|Sun 20 Sep 2015 13:16:51 +0100|/var/www/hiawatha/mydomain2.tld/index.php|CGI returned 500 Internal Error
****My IP****|Sun 20 Sep 2015 13:16:56 +0100|/var/www/hiawatha/mydomain2.tld/index.php|CGI returned 500 Internal Error
****My IP****|Sun 20 Sep 2015 13:16:58 +0100|/var/www/hiawatha/mydomain2.tld/index.php|CGI returned 500 Internal Error
****My IP****|Sun 20 Sep 2015 13:17:00 +0100|/var/www/hiawatha/mydomain2.tld/index.php|CGI returned 500 Internal Error
****My IP****|Sun 20 Sep 2015 13:22:33 +0100|/var/www/hiawatha/mydomain2.tld/wp-admin/admin-ajax.php|CGI returned 500 Internal Error
****My IP****|Sun 20 Sep 2015 13:43:47 +0100|/var/www/hiawatha/mydomain2.tld/wp-admin/themes.php|CGI returned 500 Internal Error
****My IP****|Sun 20 Sep 2015 13:43:51 +0100|/var/www/hiawatha/mydomain2.tld/wp-admin/themes.php|CGI returned 500 Internal Error
****My IP****|Sun 20 Sep 2015 13:43:54 +0100|/var/www/hiawatha/mydomain2.tld/index.php|CGI returned 500 Internal Error
If you need anything further then please let me know
Thanks for looking!