[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] [HELP]PHP3 and MySQL on RaQ2 install error
- Subject: Re: [cobalt-developers] [HELP]PHP3 and MySQL on RaQ2 install error
- From: Marco Baurdoux <linux@xxxxxxxxxxxxx>
- Date: Mon Sep 3 23:11:39 2001
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Not only that but in addition to that you have forgotten the ";" at the end
of line 5 :-))
le 4.9.2001 15:15, Steve Werby à steve-lists@xxxxxxxxxxxx a écrit :
> "malcolm wild" <cobaltsec@xxxxxxxxxxx> 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
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
=======================================================================
Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch
=======================================================================