A while ago someone posted that apache and php don't work together in pkgsrc. This is still the case as of 2015Q1. This is the error:
[Sun Apr 26 08:26:18.591549 2015] [:crit] [pid 5005:tid 140187728347136] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
AH00013: Pre-configuration failed
I saw a post about using php-fpm, so I built that and installed it but I haven't figured out how to make it work yet. Most examples are for Linux, but I haven't been able to translate it. I've been using lighttpd for a while now and I haven't used apache in many years.
Can some kind soul point me in the right direction about how to get php and apache working in NetBSD?
Thanks.
Andy