From owner-freebsd-ports Sat Dec 22 20:37:54 2001 Delivered-To: freebsd-ports@freebsd.org Received: from draco.over-yonder.net (draco.over-yonder.net [198.78.58.61]) by hub.freebsd.org (Postfix) with ESMTP id CC57B37B420 for ; Sat, 22 Dec 2001 20:37:47 -0800 (PST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 9DB6EFC3; Sat, 22 Dec 2001 22:37:46 -0600 (CST) Date: Sat, 22 Dec 2001 22:37:46 -0600 From: "Matthew D. Fuller" To: "Marc G. Fournier" Cc: freebsd-ports@freebsd.org Subject: Re: Apache2 with PHP4 ... anyone? Message-ID: <20011222223746.F25463@over-yonder.net> References: <20011214135903.L88444-100000@earth.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011214135903.L88444-100000@earth.hub.org>; from scrappy@hub.org on Fri, Dec 14, 2001 at 02:00:28PM -0500 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Marc, > I've searched google, and find alot of ppl asking about it, but no > answers, so either nobody is talking, or nobody is running :( I spent a solid evening and morning trying to get it working, with no luck (even down to fresh CVS versions of PHP, etc). So, I broke down and just set it up to run as a CGI (from the lang/php4 port): % grep php /usr/local/etc/apache/httpd.conf | grep -v ^# DirectoryIndex index.php index.html index.php3 index.htm index.cgi AddType application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php This is just on my home box, which is mainly used for my own playing around and testing, there's nothing world-viewable or production on it. I wouldn't run PHP through CGI on a 'real' server, but then, I wouldn't yet use Apache 2.x on one either. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Unix Systems Administrator | fullermd@futuresouth.com Specializing in FreeBSD | http://www.over-yonder.net/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message