From owner-freebsd-questions@FreeBSD.ORG Mon Feb 5 07:44:20 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 524BD16A401 for ; Mon, 5 Feb 2007 07:44:20 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id BF93B13C441 for ; Mon, 5 Feb 2007 07:44:17 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l157iIh0035035; Sun, 4 Feb 2007 23:44:19 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l157iIbT035034; Sun, 4 Feb 2007 23:44:18 -0800 (PST) (envelope-from kline) Date: Sun, 4 Feb 2007 23:44:18 -0800 From: Gary Kline To: Richard Lynch Message-ID: <20070205074418.GA33526@thought.org> References: <20070204040314.GA51444@thought.org> <45C55DE3.5050400@tandon.net> <20070204042613.GA54832@thought.org> <20070204045232.GC37689@dan.emsphone.com> <20070204064531.GA46879@thought.org> <2120.67.184.122.32.1170656857.squirrel@www.l-i-e.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2120.67.184.122.32.1170656857.squirrel@www.l-i-e.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Gary Kline , FreeBSD Mailing List Subject: Re: how do i find libphp4.so?? 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: Mon, 05 Feb 2007 07:44:20 -0000 On Mon, Feb 05, 2007 at 12:27:37AM -0600, Richard Lynch wrote: > On Sun, February 4, 2007 12:45 am, Gary Kline wrote: > > This is getting sranger and strangr. (BTW, I'll check the > > pkg-plist files; I forgot that; thanks.) > > > > On my ThinkPad, I have cloned my web files and php works. > > There is a different apache/httpd.conf file on my laptop, > > but only slightly: it lacks my many vitural websites. > > zen.thought.org has the same php4.* ports as on my real > > webserver. Fewer, in fact. On zen, the libphp4.so was > > (by default, obviously) commented. On my webserver, I had > > uncommented it. This is the only diffrence I can think of > > that makes any sense. On zen, my php pages display. Here > > (ns1.thought.org) I get the "Firefox does not know" etc, > > and asks if it should save the page. > > > > I'm utterly, completely stumped. Ideas? > > First, is libphp4.so in that directory or not? > > If not, install the PHP 4 port and it will be. > > Next, if you managed to screw up httpd.conf so that it doesn't "know" > that .php files are supposed to be run through PHP, then you'll get > the message you are seeing. So check your httpd.conf settings > carefully. Well, after hours of experimentation and thanks *very*, nay __extremely__ much to the many people on this list, I finally realized that the default on php4 (and php5) does NOT set up php to work with apache. I took in for granted that php and apache worked hand-in-glove. Nope. Matthew Seaman had me bring up the blue frame and select the appropriate [X]. I looked at the Makefiles and edited the "off" to "on". After my 90-11th build, things worked. Both on "sage" (aka ns1) and on zen and here on tao.thought.org. Live 'n' learn; and this time, the lesson is burned into my neurons:-) gary > > -- > Some people have a "gift" link here. > Know what I want? > I want you to buy a CD from some starving artist. > http://cdbaby.com/browse/from/lynch > Yeah, I get a buck. So? > -- Gary Kline kline@thought.org www.thought.org Public Service Unix