Click to See Complete Forum and Search --> : MySQL Extensions not Working


nicholgd
12-17-2002, 04:21 AM
I tried to intall Apache, PHP, and MySQL at home
with Mandrake 8.2. All works well except whenever
I try to use the mysql extensions, it returns an error
saying the functions were undefined.

<? phpinfo() ?> reveals that it was not configured
with mysql but it notes that mysql was included as an
external module.

I tried downloading the current version of PHP and
configuring it with MySQL and Apache but it failed
to create a make file, complaining that the "lex
command" failed.

Not being overly adept at compiling programs, I still
hope to find an easier method. Any help would be
appreciated. Thanks.

PS - Based on what I read in another thread, I also
tried uncommenting the line for mysql extensions
in the php.ini file, but it still doesn't work.

nicholgd
12-18-2002, 03:41 AM
In case it helps anyone else as foolish as me. I had
not installed the PHP-MySQL package like I thought
I had. I saw in Mandrake's package manager that it
was unchecked. I checked it, it installed fine,
and it works fine.