From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 22:18:54 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 7C8CB16A469 for ; Wed, 13 Feb 2008 22:18:54 +0000 (UTC) (envelope-from dokpm0@Phideaux.RawFedDogs.net) Received: from Phideaux.RawFedDogs.net (Phideaux.RawFedDogs.net [64.251.15.37]) by mx1.freebsd.org (Postfix) with ESMTP id 5287413C455 for ; Wed, 13 Feb 2008 22:18:54 +0000 (UTC) (envelope-from dokpm0@Phideaux.RawFedDogs.net) Received: from cpe-24-243-189-26.hot.res.rr.com ([24.243.189.26] helo=MrSmith.RawFedDogs.net) by Phideaux.RawFedDogs.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JPPTs-0003bj-6V for FreeBSD-Questions@FreeBSD.org; Wed, 13 Feb 2008 15:49:29 -0600 Date: Wed, 13 Feb 2008 15:54:13 -0600 (CST) From: Kevin Monceaux X-X-Sender: dokpm0@MrSmith.RawFedDogs.net To: FreeBSD-Questions@FreeBSD.org In-Reply-To: <03F1A67B0F5D46F4AFD27220C22C8B16@Europa> Message-ID: References: <03F1A67B0F5D46F4AFD27220C22C8B16@Europa> User-Agent: Alpine 1.00 (LNX 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: dokpm0@Phideaux.RawFedDogs.net Cc: Subject: Re: PHP,Apache question 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: Wed, 13 Feb 2008 22:18:54 -0000 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: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-apache.html Also, unless you're needing to stick with older version for compatibility reasons newer version of Apache and PHP available in your ports tree. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!!