Re: Apache, PHP, and SquirrelMail

2003-11-05 Thread Neil Hawkins
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 <[EMAIL PROTECTED]>
To: "Neil Hawkins" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Apache, PHP, and SquirrelMail
Date: Tue, 4 Nov 2003 20:55:10 -0700
On Wed, 05 Nov 2003 03:44:04 +, "Neil Hawkins"
<[EMAIL PROTECTED]> 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_modulelibexec/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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache, PHP, and SquirrelMail

2003-11-04 Thread Neil Hawkins
I looked at the files you had mentioned and noticed that all of those 
changes are already there.  Do you think I should upgrade to apache2 and see 
what happens, or deinstall and reinstall php4?


From: Robin Schoonover <[EMAIL PROTECTED]>
To: "Neil Hawkins" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Apache, PHP, and SquirrelMail
Date: Tue, 4 Nov 2003 20:55:10 -0700
On Wed, 05 Nov 2003 03:44:04 +, "Neil Hawkins"
<[EMAIL PROTECTED]> 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_modulelibexec/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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Great deals on high-speed Internet access as low as $26.95.  
https://broadband.msn.com (Prices may vary by service area.)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache, PHP, and SquirrelMail

2003-11-04 Thread Robin Schoonover
On Wed, 05 Nov 2003 03:44:04 +, "Neil Hawkins"
<[EMAIL PROTECTED]> 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_modulelibexec/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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"