pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Apache24 and php56 threadsafe error (again)



On Sun, 26 Apr 2015 08:29:42 -0700
Andy Ruhl <acruhl%gmail.com@localhost> wrote:
> 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:

FWIW I have been using Apache and PHP from pkgsrc for ten years under
NetBSD and it works fine.

> [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

Maybe you need this in your mk.conf:

PKG_OPTIONS.php = maintainer-zts
PKG_OPTIONS.ap24-php55 = maintainer-zts

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost


Home | Main Index | Thread Index | Old Index