From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 31 16:42:51 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4BF2BFE0 for ; Mon, 31 Mar 2014 16:42:51 +0000 (UTC) Received: from udns.ultimateDNS.NET (ultimatedns.net [209.180.214.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEAB08BE for ; Mon, 31 Mar 2014 16:42:50 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id s2VGjXuE002696; Mon, 31 Mar 2014 09:45:39 -0700 (PDT) (envelope-from chrish@UltimateDNS.NET) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id s2VGjP6c002692; Mon, 31 Mar 2014 09:45:25 -0700 (PDT) (envelope-from chrish@UltimateDNS.NET) Received: from unavailable02.ultimatedns.net ([209.180.214.228]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Mon, 31 Mar 2014 09:45:26 -0700 (PDT) Message-ID: In-Reply-To: References: <20140401001447.1c6013d4@X220.alogt.com> Date: Mon, 31 Mar 2014 09:45:26 -0700 (PDT) Subject: Re: despairing with apache httpd + php From: chrish@UltimateDNS.NET To: "Aled Morris" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Mon, 31 Mar 2014 16:49:16 +0000 Cc: freebsd-hackers@freebsd.org, Erich Dollansky X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 16:42:51 -0000 > On 31 March 2014 17:14, Erich Dollansky wrote: > >> This is how I have done it. Just get the source, compile and install. >> But I do not think that it is important to do it like this. You also >> can do a make install and get it all done in a single step. > > > Compiling php-5.5.10 from source with: > > $ sh configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs > $ make > > results in a build that can't be installed: > > $ sudo make install > ...blah...blah... > Warning! dlname not found in /usr/local/apache2/modules/libphp5.la. > Assuming installing a .so rather than a libtool archive. > chmod 755 /usr/local/apache2/modules/libphp5.so > chmod: /usr/local/apache2/modules/libphp5.so: No such file or directory > apxs:Error: Command failed with rc=65536 > > very frustrating! Indeed. :) I'm not sure why you're choosing the direction for build install, that you are. But if it were me; I'd # cd /usr/ports/lang/php55 # make config choose the options you wish -- as Apache module for sure # make # make install clean Assuming success... # cd /usr/ports/www/apache # make config You know the drill; choose your favorite options # make # make install clean Now, I might also mention, there's also /usr/ports/lang/php55-extensions. This is a bit of a meta-package that will allow you to pick all your favorite must-have php extensions up front. But it's usually better to simply go to each extension' folder/directory, and make(1), and configure them individually. I only mention this, as you indicated you were looking to install mediawiki, which, I believe needs (at least) XML. Best wishes, and hope this helps. :) --Chris > > Aled > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >