[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] mySQL and PHP



> > Although Cobalt says UNSUPORTED...does anyone use that combination (mySQL
> > and PHP) and how does it work? Problems with warranty?
>
> I did an informal survey of the list a while back and found that about 25%
> of the people on the list probably use PHP with MySQL
>
> I use it on a Qube, Raq2, RH boxes, YDL boxes, Mandrake boxes--they all work
> great.
>
> Coupla issues for you: the version that is really easy to get working (the
> experimental RPMs on the cobalt site) was a really old version last time I
> checked.  There is a known security issue with all but the latest versions
> of MySQL that is pretty serious.
>
> So you may want to compile yourself the lastest version of MySQL, Apache and
> PHP from sources.  That gets you in a little deeper water, but shouldn't
> cause any major problems.  Getting those three working together from source
> is about a 5 on a 1-10 difficulty scale.

Actually what you may want to do (if you are willing to get on the edge of your
waranty), is to download the Cobalt Packages on the developers.cobalt.com to
upgrade your Apache to 1.3.9, and then you get apxs with it which allows you to
compile modules for Apache without the hassle of having to get the sources,
check the config, etc. There is also a ".pkg" for PHP, but you can only use it
if you don't need SSL.

If you have SSL, what you need is get the PHP tarball from php.net (v. 3.0.15 is
the current latest) and configure with

./configure --with-apxs --whith-mysql

more info on that on the developer site and cobalt knowledge base

As far as the mysql rpms are concerned, you can get them from the experimental
directory of cobalt, they work fine out of the box. (rpm -Uvh name_of_rpm.rpm)

Hope this helps,
Balage

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature