Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2007 23:44:18 -0800
From:      Gary Kline <kline@tao.thought.org>
To:        Richard Lynch <ceo@l-i-e.com>
Cc:        Gary Kline <kline@tao.thought.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: how do i find libphp4.so??
Message-ID:  <20070205074418.GA33526@thought.org>
In-Reply-To: <2120.67.184.122.32.1170656857.squirrel@www.l-i-e.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070205074418.GA33526>