On Thu, 7 Jul 2005, Panama Jack wrote:
You can install MySql bu the problem is php is preconfigured with MySql
support turned off. You basically have to download the php package and the
apache2 package and reinstall both if you want to configure for MySql in PHP.
This is highly redundant. It would be nice in this case if you could
deselect apache2 and php so they are not installed at all. Sigh...
Just turning into a major pain to get MySql and GD running in PHP5 from the
normal install of FC4.
But the point of the below comment is that you can "yum install php-mysql"
or "up2date php-mysql" (or the same with php-gd) and the functionality is
added to PHP automagically. There are a bunch of other php-* RPMs for
other modules as well.
It's actually pretty cool, if you get your mind set right. The only issue
I've run into is that I wanted to enable Salblotron support and there
isn't a package for that. I grabbed the php SRPM, installed it, modified
the spec file, and rebuilt it. It's not *that* hard, but it's not quite
as easy as if it was built in.
On Thu, 07 Jul 2005 15:35:42 -0500, Brian Gaynor <briang@xxxxxxxxxxx> wrote:
For PHP many things now (such as mysql and gd) are handled by modules
(just like for apache), take a look in /etc/php.d. MySQL support is
include with FC4, however it may not be selected by default in the
installer (it hasn't been in the past). If you install the php-mysql and
php-gd rpms you should be all set.
--
Matthew Saltzman
Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs