Thing is, I have MySQL 5.0.67 installed, and I've never had MySQL 4 on
this box (Xserve G5, Mac OS X Server 10.4.11). Here's my configure
command:
./configure --prefix=/usr/local/php5 --mandir=/usr/share/man --
infodir=/usr/share/info --with-apxs --with-ldap=/usr --with-kerberos=/
usr --enable-cli --with-zlib-dir=/usr --with-libxml-dir=/usr --enable-
exif --enable-ftp --enable-mbstring --enable-sockets --enable-fastcgi
--with-iodbc=/usr --with-curl=/usr --with-config-file-path=/private/
etc --with-mysql=/usr --with-mysql-sock=/var/mysql/mysql.sock
If I remove --mysql=/usr, MySQL doesn't work at all (not surprising I
guess). Is there something else I need to do to compile PHP with the
latest MySQL module? (Which I don't understand--is the module part of
the PHP source, or is it something external that gets linked to?)
...Rene
On 5-Jan-09, at 10:13 AM, ceo@xxxxxxxxx wrote:
PHP had a built-in MySQL for awhile as I recall.
You had to explicitly use --with-mysql=/usr/local (or wherever you
put your mysql headers/libs) to make it choose the one you wanted.
Even if it's not using built-in, it may have found an "old" install
of your MySQL rather than your shiny new 5.0.45 version.
config.log will tell you what happened.
config.nice will tell you what you typed for ./configure
You definitely will want to fix this before you do anything else.
hth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php