Re: PHP 5.2.4 FreeBSD 6.3-PRERELEASE squirrelmail-1.4.11

2007-11-15 Thread tethys ocean
Hi,

I am so sorry for make you to busy such kind of silly question. Since I
solved myself...

I must make ownership of webmail directory  www.

Now it is working ...

in FreeBSD 6.2 Stable no need to change file ownership it remains root:wheel
but 6.3 PRERELEASE We must chage to www:www

/usr/local/www/apache22/data/webmail
2 drwxr-xr-x  14 www   www512 Nov 14 01:36 webmail


Although  in httpd.conf I have got such comment line in below it doesnt work
out but now.

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


For this meaning what change is in 6.3 I didnt understant. I solve by by
chance, trial and error.

Sincerely



On Nov 15, 2007 5:17 PM, tethys ocean <[EMAIL PROTECTED]> wrote:
> I am running with my newserver on   FreeBSD 6.3-PRERELEASE  PHP 5.2.4
> squirrelmail-1.4.11 now I cant configure  squirrelmail. Whenever I
> write   http://my IP/webmailI am take some *php  page that is
> download. such like content
>
>
>
**
> 
> /**
>  * index.php
>  *
>  * Redirects to the login page.
>  *
>  * @copyright © 1999-2007 The SquirrelMail Project Team
>  * @license http://opensource.org/licenses/gpl-license.php GNU Public
License
>  * @version $Id: index.php 12127 2007-01-13 20:07:24Z kink $
>  * @package squirrelmail
>  */
>
> // Are we configured yet?
> if( ! file_exists ( 'config/config.php' ) ) {
> echo 'ERROR: Config file ' .
> '"config/config.php" not found. You need to ' .
> 'configure SquirrelMail before you can use it.';
> exit;
> }
>
> // If we are, go ahead to the login page.
> header('Location: src/login.php');
>
> ?>
>
>
**
>
>
> and also I cant browse configtest page  and also test.php
>
> I wonder this trouble is in my php config? or squirrelmail config??
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PHP 5.2.4 FreeBSD 6.3-PRERELEASE squirrelmail-1.4.11

2007-11-15 Thread Jonathan Horne

Quoting tethys ocean <[EMAIL PROTECTED]>:


I am running with my newserver on   FreeBSD 6.3-PRERELEASE  PHP 5.2.4
squirrelmail-1.4.11 now I cant configure  squirrelmail. Whenever I
write   http://my IP/webmailI am take some *php  page that is
download. such like content


**
http://opensource.org/licenses/gpl-license.php GNU Public License
 * @version $Id: index.php 12127 2007-01-13 20:07:24Z kink $
 * @package squirrelmail
 */

// Are we configured yet?
if( ! file_exists ( 'config/config.php' ) ) {
echo 'ERROR: Config file ' .
'"config/config.php" not found. You need to ' .
'configure SquirrelMail before you can use it.';
exit;
}

// If we are, go ahead to the login page.
header('Location: src/login.php');

?>

**


and also I cant browse configtest page  and also test.php

I wonder this trouble is in my php config? or squirrelmail config??


most likely, its a problem that you didnt update your httpd.conf.   
take a look at /usr/ports/lang/php5/pkg-message.mod


cheers,
--
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]


This message was sent using IMP, the Internet Messaging Program.

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


Re: PHP 5.2.4 FreeBSD 6.3-PRERELEASE squirrelmail-1.4.11

2007-11-15 Thread Thomas Abthorpe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 15 November 2007 10:17:18 tethys ocean wrote:
> I am running with my newserver on   FreeBSD 6.3-PRERELEASE  PHP 5.2.4
> squirrelmail-1.4.11 now I cant configure  squirrelmail. Whenever I
> write   http://my IP/webmail    I am take some *php  page that is
> download. such like content
> ***snip***

I suspect, if you are running a webserver such as apache, you need to add the 
following configurations lines to httpd.conf

   AddType application/x-httpd-php .php
   AddType application/x-httpd-php-source .phps


Thomas

- -- 
Thomas Abthorpe | FreeBSD Ports Committer
[EMAIL PROTECTED]   | http://people.freebsd.org/~tabthorpe
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHPGqE5Gm/jNBp8qARAjzaAJ0cIZ4RzGrOiC6ztkITp+wJDXWB9wCfVHpu
HayCMiePNdKLqtomVqIgRjU=
=RmEL
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"