Charlie Brady wrote:
> You shouldn't worry about that, the mysql support is in a
> seperate module, in the php-mysql RPM. The mysql support just
> isn't compiled into mod_php.
Please excuse me if I break in... I had to add Oracle 8 support to PHP4, and the first thing I did was just to compile the php-oci8 shared library, then add it to the php.ini config file.
It worked, but I experienced stability problems, and when I added the mysql module PHP began crashing apache on startup.
This behaviour changed when I recompiled the whole PHP4 package, adding both "--with-mysql=shared" and "--with-oci8=shared" to the standard configuration: now PHP4 is rock-solid.
I did several builds of PHP on my E-Smith 4.0.1 development machine, and now I am using the same version E-Smith 4.1 has, plus some more functionalities: mysql and oci8 shared support, gdbm and zlib support, dbase and trans-sid enabled. It works like a charm.
I did not investigate further, may be that PHP build process actually does not need the "--with-something=shared" specified, and the instability I experienced was just a quirk, or that the "--with-something=shared" creates some entry points in the main module, don't know: I leave further in-depths to more knowledgeable people...

--
Pierluigi Miranda