Acolyte of the Butterfly
Posts: 150 from 2004/6/18
From: Nagold - Germany
Hi,
I've got MySQL 4.1 and Apache with PHP 5
running on Pegasos on MOS.
I use the ports done by SixK.
MySQL and Apache work not bad under MOS but not as nice as under Linux.
A few things to note:
- Once started, stopping or restarting Apache and MySQL does not work.
So playing with the Apache config is not so easy.
- MyISAM tables always rely on the OS diskcache to cache database records.
If you work with bigger MyISAM tables you need to set
the SFS cache to reasanble high values.
- PHP needs quite some stack to compile longer scripts.
This is a PHP *feature*
With ixstack you can set the PPC stacksize of MOS Apache.
32kb stack is enough for script of around 1000 lines.
If MOS PHP runs out of stack Apache will die = reboot needed to restart Apache ;)
- MySQL problems:
show databases - create databases does not work!
As a MyISAM database is only a drawer you can use makedir as replacement :)
I have succesfully tested MOS MySQL with my database of over 1 GB size.
I have tested MOS Apache with PHP scripts of over 6,000 lines.
I use 4 MB stack for Apache to run those scripts.
The MySQL problems are mainly caused by bugs in posixthreads.
If these bugs will be fixed - MySQL should work much nicer.
MySQL might give problems with the ixemul.library bundled with MOS.
I can send you the version which I use if needed.
@BBRV
Yes, MySQL AB ownes 2 Pegasos computers.
The MySQL Linux PPC releases are compiled on them. :)
BTW: I work for MySQL AB.
I've got a Pegasos as well which I prefer to use under MOS.
Cheers
Gunnar
[ Edited by BigGun on 2004/7/20 19:32 ]