[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] [HELP]PHP3 and MySQL on RaQ2 install error
- Subject: [cobalt-developers] [HELP]PHP3 and MySQL on RaQ2 install error
- From: "malcolm wild" <cobaltsec@xxxxxxxxxxx>
- Date: Mon Sep 3 08:28:33 2001
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I recently attempted installing PHP3 and MySQL rpms from the
ftp.cobalt.com/pub/expermental/RPMS/mips
I don't really work with php/MySQL on linux so its the first go on a RaQ
The idea was just to play on this old mips box (running the latest patches
security 4.0)
I found some rpms, althought they are alittle old.
The inital MySQL failed
installed with
rpm -ihv [FILENAME]
MySQL-3.22.21-2C1.mips.rpm goes on OK
MySQL-client-3.22.21-2C1.mips.rpm
But i get
failed dependencies:
libncurses.so.3.0 is needed by MySQL-client-3.22.21-2C1
according to previous posts, its due to the ncurse issue that had a security
flaw and therefore has since been replaced with a no backward compatible
library. So I can't get this build to install
MySQL-devel-3.22.21-2C1.mips.rpm requires the above client rpm
So I shutdown MySQL But it didn't want to uninstall (-e) with rpm (?)
So skipped the MySQL install for now and tried php3 which appeared to go on
fine
installed with
rpm -ihv [FILENAME]
mod_php3-3.0.7-1C2.mips.rpm
mod_php3-doc-3.0.7-1C2.mips.rpm
it automatically stop/restarted httpd ok
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)
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!
Thanks inadvance