I would venture to guess that mysql is installed as a binary distribution. PHP needs the sources in order to compile with mysql support. Try installing mysql from source or installing the source rpm.
Fred Joe <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All, > > I am trying to use MySQL from PHP. I get the error message: call to > undefined function: mysql_connect() > > Based on what I've read, I need to compile PHP with the > --use-mysql=/path/to/mysql option. This was not enough information to get > the compile to work. (I tried every directory that had *any* mysql files in > it.) So I ended up compiling just using --use-mysql. This seemed to work, > php -v gives me 4.0.6. However, the error still exists: undefined function: > mysql_connect() (MySQL is definitely installed. I have used the client to > build a small database which I can query against.) > > Could someone please give me a hand here? > > jce -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]