Image

Imagejustgags wrote in Imageapache

PHP w/ MySQL on RHEL

[cross posted to Imagemysql and Imagephp]

I'm new to RedHat Enterprise and the RPM system etc, generally I just compile everything from source, but I figured I may as well do it "right" with all of RedHat's dependencies and such.

Well, my RedHat Enterprise system did not come with MySQL. So I installed the RPM from www.mysql.com.

I'm now trying to install phpBB2. The php page shows up fine for the installation process. But when it attempts to create a database, it coughs up an error:

"The PHP configuration on your server doesn't support the database type that you chose."

I've never seen this before. The only thing that I can figure is that the php that RedHat Linux is using is not compiled with MySQL support. Now, I would know how to do this from source just fine (if I had installed MySQL from source too)... but is there an "RPM" way to finish this install off?

(...and yes, I tried googling for info)

Doing a little research, is it possible to just get a mysql.so file and insert it in my extensions dir of /usr/lib/php4? It seems like that should solve my problem... aye?