Re: [PHPLIB] phplib install From: Kristian Köhntopp (kris <email protected>)
Date: 12/15/99

Arlon Wilber wrote:
> Fatal error: Call to unsupported or undefined function mysql_errno() in
> db_mysql.inc on line 118

Your copy of PHP has not been built with MySQL support included
or your copy of PHP has been built with dynamic loading and
the MySQL support has not been loaded. In either case, you
copy of PHP does not include PHP mysql_*() functions, but
only stubs for them printing the above error message.

If you have a dynamically loaded PHP version, locate the
DLL (windows) or so (Unix) files and have PHP load them
either at startup (using extension and extension_dir in
your php3.ini) or in your script (using the dl() function).

If you have a statically bound version of PHP, you need to
rebuild your copy of PHP, this time including the "--with-mysql="
configuration option.

Kristian

-- 
Kristian Koehntopp, Knooper Weg 46, 24103 Kiel, +49 171 2231 811
"Bombay is 250ms from New York in the new world order" - Alan Cox

- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.