how do i find libphp4.so??
Gary Kline
kline at tao.thought.org
Mon Feb 5 07:44:20 UTC 2007
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 at thought.org www.thought.org Public Service Unix
More information about the freebsd-questions
mailing list