PHP, MySQL, * Mandrake 8.1
| From: | Joe | Date: | Sat, 01 Dec 2001 22:13:47 +0000 |
| Subject: | PHP, MySQL, * Mandrake 8.1 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5155@lists.php.net to get a copy of this message | ||
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