PHP5/MySQL problem

Shaun Cummiskey shaunc at crye-leike.com
Mon Jul 16 18:50:09 UTC 2007


On Mon, 16 Jul 2007 13:20:07 -0400
"Joseph Mays" <mays at win.net> wrote:

> You can examine the php setup at http://geekfleet.tai-gear.com/phpinfo.php

It doesn't appear that your installation of PHP was compiled with MySQL
support. If you go down to the MySQL section of the phpinfo output, the
value for MYSQL_MODULE_TYPE should be either "builtin" or "external." 
IIRC, PHP will build with its own native MySQL support by default;
specifying --disable-all at config time overrode that option.

I would suggest appending --with-mysql --with-mysqli to PHP's configure
command, and recompiling.

hth



More information about the freebsd-database mailing list