Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2000 14:02:32 -0500 (EST)
From:      Jonathan Smith <jonsmith@dragonstar.dhs.org>
To:        Michael <enews@michaelvince.com>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: Bad apache ports on stable 4.0
Message-ID:  <Pine.BSF.4.21.0006281356250.88718-100000@dragonstar.dhs.org>
In-Reply-To: <005f01bfe12a$753755e0$2201a8c0@vic.bigpond.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
CC'd to ports where it belongs.
(Please respond only there as I don't think this is a -stable issue).

I'd like to suggest they add this to the messages that says to hadd the
handler lines, it certainly would have saved me grief -- and you.

I had the same problems (and a few worse ones).

To get php working, you need to manually add the following lines to tell
apache that the module exist (in addition to defining that certain files
should use the handlers):

In Dynamic Shared Object (DSO) Support:

	Append to the list of LoadModule lines:

LoadModule php4_module        libexec/apache/libphp4.so


	Append to the list of AddModule lines:

AddModule mod_php4.c


j.

--
Close your eyes.  Now forget what you see.  What do you feel? --
My heart. --  Come here. --  Your heart. --  See?  We're exactly the same.

	Jon Smith -- Senior Math Major @ Purdue

On Thu, 29 Jun 2000, Michael wrote:

> I went from 4.0 release to 4.0 stable and when I installed apache and
> modphp4 from ports the php4 side of it doesnt work.
> It all compiles fine (apache and the php4 /usr/ports/www/mod_php4) but the
> end result was either apache would load and any .php I requested would be
> downloaded instead of executed or apache wouldnt even load.
> And yes I was adding AddType application/x-httpd-php .php and AddType
> application/x-httpd-php-source .phps
> to the apache confile file
> 
> I sat there for about 24 hours worth of compiling most of the apache
> choices(apache13, apache13-ssl, apache13-modssl)  in ports and deleteing and
> adding the modphp4 and they all gave the same results.
> I kept trying because I had faith that it was something I wasnt doing and
> not the stable ports, but after a while I belived it was the modphp4 that
> wasnt getting compiled properly even though there wasn't any error messages
> in the compile.
> 
> I downloaded php4 from the www.php.net web site compiled/installed it (I
> used apache from ports) and apache worked with php first time.
> 
> So I belive the /usr/ports/www/mod_php4 is dodgey and what happened to the
> nice menu you used to get when installing apache from ports with the options
> to choose mysql and php etc?
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006281356250.88718-100000>