From owner-freebsd-questions@FreeBSD.ORG Mon May 21 21:20:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9E7516A480 for ; Mon, 21 May 2007 21:20:05 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (190-144-58-66.gci.net [66.58.144.190]) by mx1.freebsd.org (Postfix) with ESMTP id D4B7413C4FB for ; Mon, 21 May 2007 21:20:04 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id 665207EAD; Mon, 21 May 2007 13:20:03 -0800 (AKDT) From: Beech Rintoul Organization: FreeBSD Port Maintainer To: freebsd-questions@freebsd.org Date: Mon, 21 May 2007 13:19:41 -0800 User-Agent: KMail/1.9.6 References: <465201C1.7020409@studsvikscandpower.com> In-Reply-To: <465201C1.7020409@studsvikscandpower.com> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705211319.52533.beech@alaskaparadise.com> Cc: Patrick Baldwin Subject: Re: [freebsd-questions] Can't build php5? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: beech@alaskaparadise.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 21:20:06 -0000 On Monday 21 May 2007, Patrick Baldwin said: > Hi, I'm in the process of trying to build a Horde/IMP server. I > started by freshly installing & updating 6.2-RELEASE-p4 FreeBSD. I > then installed IMP package with pkg_add -r imp. All seemed to go > well. I then started working my way through configuring the > various newly installed things. > > From: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-a >pache.html > > I added: > > LoadModule php5_module libexec/apache/libphp5.so > > AddModule mod_php5.c > > DirectoryIndex index.php index.html > > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > > To my /usr/local/etc/apache/httpd.conf file. > > When I tried to restart Apache, I get: > apachectl start > Syntax error on line 238 of /usr/local/etc/apache/httpd.conf: > Cannot load /usr/local/libexec/apache/libphp5.so into server: > Cannot open "/usr/local/libexec/apache/libphp5.so" > /usr/local/sbin/apachectl start: httpd could not be started > > > And sure enough, it's not there. I go to /usr/ports/lang/php5, > Run make config install, telling it to build Apache module, and > I get: > > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for php5-5.2.2 > => suhosin-patch-5.2.2-0.9.6.2.patch.gz doesn't seem to exist in > /usr/ports/distfiles/. > => Attempting to fetch from > http://www.hardened-php.net/suhosin/_media/. fetch: > http://www.hardened-php.net/suhosin/_media/suhosin-patch-5.2.2-0.9. >6.2.patch.gz: Connection refused > => Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. > fetch: > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/suhosin-patch-5.2 >.2-0.9.6.2.patch.gz: File unavailable (e.g., file not found, no > access) > => Couldn't fetch it - please try to retrieve this > => port manually into /usr/ports/distfiles/ and try again. > *** Error code 1 > > Stop in /usr/ports/lang/php5. > *** Error code 1 > > Stop in /usr/ports/lang/php5. > > > My goal here is to get a working FreeBSD 6.2 Horde/IMP server. I'm > new to all these things, so if I'm going about this the hard or the > stupid way, please don't hesitate to tell me. It seemed like the > easiest and fastest way to get a working install would be to > install the package, but maybe I'm wrong. > > Regards, The problem is there have been upgrades to php and their server is currently down. This has been reported by several people and all I can suggest is to try again later. FWIW, I just tried to fetch and it's still down. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Port Maintainer - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.freebsd.org/releases/6.2R/announce.html ---------------------------------------------------------------------------------------