[PHP-DB] MySQL support compiled in, but functions not recognized From: dlobron <email protected>
Date: 11/14/00

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 <email protected>
or dlobron <email protected>

Sincerely,
David Lobron

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>