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

Re: [cobalt-users] MySQL w/ Apache



Daren Cotter <webmaster@xxxxxxxxxxxxxxxx> wrote:
> I installed MySQL from the RPM files (the i386.rmp files) from the MySQL
> site. I attempted to install PHP as an Apache Module using:
> ./configure --with-mysql --with-apxs
>
> But I got the error:
> Warning: Continuing anyway...
> apxs:Warning: No shared object support for Apache
> apxs:Warning: available under your platform. Make sure
> apxs:Warning: the Apache module mod_so is compiled into
> apxs:Warning: your server binary `/usr/bin/httpd'.

Probably because the binary is at /usr/sbin/httpd.  You'll probably have to edit
a makefile to correct it.

> apsx:Warning: Continuing anyway...

Did you type this by hand?  Odd that "apxs" is misspelled.

> It is absolutely imperative that I have PHP installed as an Apache Module,
> as I need to be able to use persistent database connections.

I've installed PHP and MySQL from source on all of the RaQ line.  It certainly
can be done.  It's possible that the RPMs you grabbed expect files in different
locations than found on the RaQs.

> Surely someone must've encountered this before?

You'll probably need to edit the apxs file somewhere in the first 100 lines
(can't remember off-hand) and change an occurence of /usr/bin to /usr/sbin.

> This worked just fine on my
> old RaQ2, but not on the RaQ3. Do I need to download Apache and reconfigure
> it?

If you're able to recompile Apache on a RaQ3 with mod_perl, openssl and the
other non-standard modules let us know.

--
Steven Werby {steven-lists@xxxxxxxxxxxx}