From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 22:55:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 313A416A4CF for ; Tue, 4 Nov 2003 22:55:46 -0800 (PST) Received: from hotmail.com (law10-f33.law10.hotmail.com [64.4.15.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8150643FF7 for ; Tue, 4 Nov 2003 22:55:45 -0800 (PST) (envelope-from nchawkins90@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 4 Nov 2003 22:55:45 -0800 Received: from 12.249.219.177 by lw10fd.law10.hotmail.msn.com with HTTP; Wed, 05 Nov 2003 06:55:45 GMT X-Originating-IP: [12.249.219.177] X-Originating-Email: [nchawkins90@hotmail.com] From: "Neil Hawkins" To: end@endif.cjb.net Date: Wed, 05 Nov 2003 06:55:45 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Nov 2003 06:55:45.0335 (UTC) FILETIME=[D5FA4C70:01C3A369] cc: freebsd-questions@freebsd.org Subject: Re: Apache, PHP, and SquirrelMail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2003 06:55:46 -0000 Thanks for the Help! What I did was a deinstall on SquirrelMail and installed it through the ports. Everything appears to be working fine now. The only other question I have at the moment is how do I get Squirrel mail to read Qmail? Can't I setup VADMIN for virtual domain and user setup? >From: Robin Schoonover >To: "Neil Hawkins" >CC: freebsd-questions@freebsd.org >Subject: Re: Apache, PHP, and SquirrelMail >Date: Tue, 4 Nov 2003 20:55:10 -0700 > >On Wed, 05 Nov 2003 03:44:04 +0000, "Neil Hawkins" > wrote: > > I am new to FreeBSD and am trying to figure a few things out. I have > > installed QMAIL, APACHE, PHP4, and SquirrelMail. Apache seems to be > > working fine because I can browse the directory lising for > > /usr/local/www/data folders. However, when I try to browse the > > SquirrelMail folder, it just displays the text code of the index.php > > file. I am assuming that PHP4 is either not installed correctly, not > > running, or not configured appropriately. Can someone help me out here? > > > >You need to tell apache about mod_php4. In apache2, I have these extra >lines in the configuration file. > >LoadModule php4_module libexec/apache2/libphp4.so > >DirectoryIndex index.html index.html.var index.php > >AddType application/x-httpd-php .php >AddType application/x-httpd-php-source .phps > >You don't want to have 'AddHandler php .php' in httpd.conf In an earlier >version of php4, I did have that and it worked fine, but when I upgraded >php4 it stopped working (showed code only like it is for you), so I had to >take out that line. > >-- >Robin Schoonover (aka End) ># ># Actual newspaper headline: ># Something Went Wrong in Jet Crash, Expert Says >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Is your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963