Help! PHP will not connect to mysql dbase!

777php

Diamond Member
Jul 17, 2001
3,498
0
0
Ain't getting no love in the Programming forum.

I have Apache with PHP installed and running on Redhat 62.
I also have mysql installed and running.

When I try to access mysql through php it says call to undefined function!

I though I had compiled Apache with php and mysql!

Is there something I can change in the php.ini file or the httpd.conf file?
 

777php

Diamond Member
Jul 17, 2001
3,498
0
0
Okay basically can anyone tell me how to compile a dynamic MySQL module and load it into PHP?

hee hee...thanks.
 

Grey

Platinum Member
Oct 14, 1999
2,737
2
81
There is usually a more accurate code like Code 1: Undefined call or somesuch.. besides php.net probably has the answer up already in the FAQ which is huge.
 

guaraguao

Member
May 21, 2001
159
0
0


<< Okay basically can anyone tell me how to compile a dynamic MySQL module and load it into PHP? >>


Just look on the php.net docs, there's a config flag called "--with mysql support" or something, trust me it'll be prominently displayed somewhere--php and mysql are like bread and butter.