Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 13:00:54 -0500
From:      Shaun Cummiskey <shaunc@crye-leike.com>
To:        "Joseph Mays" <mays@win.net>
Cc:        freebsd-database@freebsd.org
Subject:   Re: PHP5/MySQL problem
Message-ID:  <20070716125538.25BB.SHAUNC@crye-leike.com>
In-Reply-To: <035801c7c7cd$8e8dcfb0$b12118d8@engineering01>
References:  <035801c7c7cd$8e8dcfb0$b12118d8@engineering01>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 Jul 2007 13:20:07 -0400
"Joseph Mays" <mays@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070716125538.25BB.SHAUNC>