MySQL support compiled in, but functions not recognized
| From: | dlobron at harcourt dot com | Date: | Tue, 14 Nov 2000 15:04:35 +0000 |
| Subject: | MySQL support compiled in, but functions not recognized | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4422@lists.php.net to get a copy of this message | ||
Hello Everyone-
I recently installed PHP 4.0.3p|1 (the latest version) onto my Linux
machine, running Apache. I
compiled PHP with MySQL support (--with-mysql). However, when I try to use
the mysql_connect()
function, I get a "Fatal error" message saying that I am using an
unrecognized or undefined
function.
The PHP compile process seemed to go fine- I have re-compiled it from
scratch a few times now.
Nothing seems to work. I tried re-compiling with the explicit path to
MySQL- when I did that, the compile
crashed about halfway through, saying it could not find the necessary MySQL
header files. That
makes me think I am doing something wrong. My MySQL daemon is running
fine, however, as is Apache.
Could I be forgetting a conf file modification or the like that would cause
PHP to not recognize the
MySQL functions? Note that this isn't a DB connection problem: PHP isn't
recognizing the mysql_connect()
function at all.
Thanks in advance for any assistance. Please reply to dlobron@harcourt.com
or dlobron@world.std.com.
Sincerely,
David Lobron