From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 14:07:14 2008 Return-Path: Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE6B716A418 for ; Thu, 14 Feb 2008 14:07:14 +0000 (UTC) (envelope-from darryl@osborne-ind.com) Received: from ws2.cnweb.com (ws2.cnweb.com [69.50.194.62]) by mx1.freebsd.org (Postfix) with ESMTP id 79DF413C4DB for ; Thu, 14 Feb 2008 14:07:14 +0000 (UTC) (envelope-from darryl@osborne-ind.com) Received: (qmail 1579 invoked from network); 14 Feb 2008 08:07:09 -0600 Received: from p245n23.ruraltel.net (HELO Europa) (24.225.23.245) by ws2.cnweb.com with SMTP; 14 Feb 2008 08:07:09 -0600 From: "Darryl Hoar" To: "'Kevin Monceaux'" , In-Reply-To: Date: Thu, 14 Feb 2008 08:08:14 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 Importance: Normal Cc: Subject: RE: PHP,Apache question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: darryl@osborne-ind.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2008 14:07:14 -0000 Subject: Re: PHP,Apache question On Wed, 13 Feb 2008, Darryl Hoar wrote: > when I try to start apache using: > #/usr/local/sbin/apachectl start > I get the following: > Syntax error on line 241 of /usr/local/etc/apache/httpd.conf: > Cannot load /usr/local/libexec/apache/libphp4.so into server: Cannot open > "/usr/local/libexec/apache/libphp4.so" > /usr/local/sbin/apachectl start: httpd could not be started > when I look in the /usr/local/libexec/apache directory, I do not see > libphp4.so > > What do I need to do to fix this ? >>try installing lang/php4. Have you checked out the Apache section of the >>handbook? There's a section on setting up Apache and PHP: You'll notice in my original email that one of the steps I performed was installing lang/php4. >>http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-apache.h tml >>Also, unless you're needing to stick with older version for compatibility >>reasons newer version of Apache and PHP available in your ports tree. Yes, I am going with the 'older' version for some compatability issues with software I will be using. >>Kevin