From owner-freebsd-ports@freebsd.org Tue Dec 26 16:13:49 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E11CE9F0F7 for ; Tue, 26 Dec 2017 16:13:49 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D78087B96F for ; Tue, 26 Dec 2017 16:13:48 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1eTrrR-000Kig-0X; Tue, 26 Dec 2017 17:13:49 +0100 Date: Tue, 26 Dec 2017 17:13:48 +0100 From: Kurt Jaeger To: "@lbutlr" Cc: freebsd-ports@freebsd.org Subject: Re: rebuilding apache24 and php70 Message-ID: <20171226161348.GH2827@home.opsec.eu> References: <105991D8-438F-4CA3-9CEB-0C4241AA709E@kreme.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <105991D8-438F-4CA3-9CEB-0C4241AA709E@kreme.com> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Dec 2017 16:13:49 -0000 Hi! > When trying to launch apache, I get the following error: > > httpd: Syntax error on line 153 of /usr/local/etc/apache24/httpd.conf: Cannot load libexec/apache24/libphp7.so into server: /usr/local/libexec/apache24/libphp7.so: No space available for static Thread Local Storage > > (apache does launch) Please also note that this procedure helps with the load sequence of PHP modules. For whatever reasons, having it in the wrong sequence causes apache to die as well. cd /tmp/ fetch https://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh chmod 755 fixphpextorder.sh cd /usr/local/etc/php cat ext-*ini > extensions.ini /tmp/fixphpextorder.sh mv extensions.ini.new extensions.ini rm ext-*ini -- pi@opsec.eu +49 171 3101372 3 years to go !