You only need:
<? phpinfo() ?>
----- Original Message -----
From: "Steve Werby" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 2:15 PM
Subject: Re: [cobalt-developers] [HELP]PHP3 and MySQL on RaQ2 install error
> "malcolm wild" <[EMAIL PROTECTED]> wrote:
> > but when i try a test script
> >
> > [root web]# more test.php3
> > <html>
> > <head>
> > </head>
> > <body>
> > <? php phpinfo() ?>
> > </body>
> > </html>
> >
> > or just <? php phpinfo() ?>
> >
> > I get:
> >
> > Parse error: parse error in /home/sites/site1/web/test.php3 on line 5
(or
> > line 1)
>
> I encourage you to always use long PHP tags for portability. It looks
like
> you tried to use long tags "<?php", but actually used short tags "<?" b/c
of
> the space between "<?" and "php" in your code. That's what caused the
parse
> error.
>
> > Anyone get any quick ideas on how to set up
> > A. php3 (or php4 on a MIPS I don't fancy a source compile!)
> > B. MySQL (again MIPS based RPM that will work!
>
> On a MIPS machine you'll probably really need to compile these programs
from
> source, though as you've found there are some RPMs floating around based
on
> ancient versions. There were reliable Cobalt PKG or RPMs for ~ PHP3.0.7
and
> MySQL 3.22.x, but I don't know if they're still available and they're so
old
> I'd suggest avoiding anyway.
>
> --
> Steve Werby
> President, Befriend Internet Services LLC
> http://www.befriend.com/
>
> _______________________________________________
> cobalt-developers mailing list
> [EMAIL PROTECTED]
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers