From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 31 16:14:54 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A466F33 for ; Mon, 31 Mar 2014 16:14:54 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (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 306E5366 for ; Mon, 31 Mar 2014 16:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=NiswqvyULdsfr+0YkWpWGDc3kmr0B9uS9S/5ORhZE5M=; b=Ppc3fAe+o80ILmtvbZGsI9yUhiMxGv+nrVi+D73zftRQQNltLaoGFvMDMwHya+Fm/0DmJ8GY9FpDeaS7QFJ9GCtRIQVLA20PLlMT5SscpNdyR0sYeg0vkaz7Iv1RAe21vFZ4rTq0fBtlQXL44BL5AMs6yOAl2jy54L8SRy+Xo/Q=; Received: from [182.55.101.96] (port=40098 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1WUerL-00007T-7U; Mon, 31 Mar 2014 10:14:51 -0600 Date: Tue, 1 Apr 2014 00:14:47 +0800 From: Erich Dollansky To: Aled Morris Subject: Re: despairing with apache httpd + php Message-ID: <20140401001447.1c6013d4@X220.alogt.com> In-Reply-To: References: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-hackers@freebsd.org 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:14:54 -0000 Hi, On Mon, 31 Mar 2014 16:29:11 +0100 Aled Morris wrote: > I'm tearing my hair out trying to get a simple Apache HTTPD and > mod_php install for running mediawiki (mysql) under > FreeBSD-10.0-RELEASE > > I can't get a working system whichever way I try. Either mod_php.so > doesn't seem to get built or I'm getting XML problems (Class > 'DOMDocument' not found) which version of Apache? I have 2.2 running since a few years. But I did not succeed with 2.4 as the configuration file format changed. This is just my personal problem and has nothing to do with Apache or PHP. > > I've tried installing packages with the new "pkg" tool > > I've tried compiling from ports. > 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. > I've tried downloading Apache and PHP source and building those. > > Has anyone done this? I didn't think I was trying anything exotic > here but I've wasted two days now! I just upgraded my ports last week and have had no problems then. Please tell us a bit more like versions, error messages and what works and what does not work plus you Apache configuration. Erich