From owner-freebsd-questions@FreeBSD.ORG Fri May 12 18:34:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 488E416B3C7 for ; Fri, 12 May 2006 18:34:55 +0000 (UTC) (envelope-from jhorne@dfwlp.com) Received: from zeus.int.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BA2643D6E for ; Fri, 12 May 2006 18:34:53 +0000 (GMT) (envelope-from jhorne@dfwlp.com) Received: from mail.dfwlp.com (localhost.int.dfwlp.com [127.0.0.1]) by zeus.int.dfwlp.com (8.13.6/8.13.6) with ESMTP id k4CIYntV060893; Fri, 12 May 2006 13:34:49 -0500 (CDT) (envelope-from jhorne@dfwlp.com) Received: from 167.246.36.14 (SquirrelMail authenticated user jhorne) by mail.dfwlp.com with HTTP; Fri, 12 May 2006 13:34:49 -0500 (CDT) Message-ID: <52234.167.246.36.14.1147458889.squirrel@mail.dfwlp.com> In-Reply-To: <20060512185626.D57174@justnosweat.net> References: <20060512185626.D57174@justnosweat.net> Date: Fri, 12 May 2006 13:34:49 -0500 (CDT) From: "Jonathan Horne" To: "justin" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on zeus.int.dfwlp.com Cc: freebsd-questions@freebsd.org Subject: Re: libphp5.so not compiling for apache (was hello) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 18:34:56 -0000 > > I `ve got a question about installing the php5 module. > I`m installing it from the /usr/ports/www/php5-session port. > > Everything runs ok and it seems like the module is installed. > There is only one problem, in the httpd.conf there is a LoadModule > php5_module refering to libexec/apache/libphp5.so. > > The library libphp5.so is not made by the install and so my appache will > not start with the php5 enabled. > > What is wrong and what can i do to let the install make the libphp5.so. > > Ok thanks in advance, > Justin. > > > i was having the same issue yesterday. take a look at the /usr/ports/lang/php5/Makefile. this was where my problem was, and tho i didnt use the www/php5-session, i would make a bet that if you begin from there with no php5 installed at all, then it backs up and begins from lang/php5, and then moves on from there. the problem with my lang/php5/Makefile was, that this line was not included (totally not there... not even there and commented out): WITH_APACHE= yes once i added it, did a pkg_delete -r php5-5.1.4 (-r = recurse all dependencies against this package), and started over, the lib file compiled on the next attempt. the port for php5-5.1.2 included that line, and therefor the lib file compiled by default previously. im not sure if the omission of "WITH_APACHE= yes" was by intention or not, but ill have to be sure to check it for near future installs. tht, jonathan