<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>DIYMacServer &#187; Topic: MySQL error when configuring PHP</title>
<link>http://diymacserver.com/forum/</link>
<description>DIYMacServer &#187; Topic: MySQL error when configuring PHP</description>
<language>en</language>
<pubDate>Wed, 08 Feb 2012 18:27:05 +0000</pubDate>

<item>
<title>Richard on "MySQL error when configuring PHP"</title>
<link>http://diymacserver.com/forum/topic/mysql-error-when-configuring-php#post-635</link>
<pubDate>Sat, 21 Feb 2009 13:37:02 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">635@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Yes, that is possible: rad &#60;a href=&#34;http://diymacserver.com/2008/10/04/update-on-64-bits-compilation/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/2008/10/04/update-on-64-bits-compilation/&#60;/a&#62; for more info.
&#60;/p&#62;</description>
</item>
<item>
<title>gshockoman on "MySQL error when configuring PHP"</title>
<link>http://diymacserver.com/forum/topic/mysql-error-when-configuring-php#post-634</link>
<pubDate>Thu, 19 Feb 2009 15:34:58 +0000</pubDate>
<dc:creator>gshockoman</dc:creator>
<guid isPermaLink="false">634@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;what is the solution to this ?&#60;br /&#62;
can php be compiled in 64bit as well ?&#60;/p&#62;
&#60;p&#62;thanx
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "MySQL error when configuring PHP"</title>
<link>http://diymacserver.com/forum/topic/mysql-error-when-configuring-php#post-603</link>
<pubDate>Fri, 19 Dec 2008 13:38:06 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">603@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;The MySQL installation was 64 bits while trying to compile PHP as 32 bits application.
&#60;/p&#62;</description>
</item>
<item>
<title>wafox on "MySQL error when configuring PHP"</title>
<link>http://diymacserver.com/forum/topic/mysql-error-when-configuring-php#post-601</link>
<pubDate>Tue, 16 Dec 2008 16:43:02 +0000</pubDate>
<dc:creator>wafox</dc:creator>
<guid isPermaLink="false">601@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;richard,&#60;/p&#62;
&#60;p&#62;I sent this as requested.  Thanks for your help.
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "MySQL error when configuring PHP"</title>
<link>http://diymacserver.com/forum/topic/mysql-error-when-configuring-php#post-600</link>
<pubDate>Sun, 14 Dec 2008 15:49:39 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">600@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Could you mail me the config.log file from the 5.2.8 php source directory just to see where and perhaps why it went wrong ?
&#60;/p&#62;</description>
</item>
<item>
<title>wafox on "MySQL error when configuring PHP"</title>
<link>http://diymacserver.com/forum/topic/mysql-error-when-configuring-php#post-599</link>
<pubDate>Sat, 13 Dec 2008 20:18:02 +0000</pubDate>
<dc:creator>wafox</dc:creator>
<guid isPermaLink="false">599@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;not to hijack this (but I will as the last post on this thread was in May) I have the same issue.  I'm running MySQL 5.0.51b&#60;/p&#62;
&#60;p&#62;I was trying to upgrade my php install to 5.2.8 (from 5.2.6) and got the exact same error as the OP.  Here is my output of mysql_config:&#60;/p&#62;
&#60;p&#62;Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]&#60;br /&#62;
Options:&#60;br /&#62;
        --cflags         [-I/usr/local/mysql/include/mysql]&#60;br /&#62;
        --include        [-I/usr/local/mysql/include/mysql]&#60;br /&#62;
        --libs           [-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm]&#60;br /&#62;
        --libs_r         [-L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -lm]&#60;br /&#62;
        --socket         [/tmp/mysql.sock]&#60;br /&#62;
        --port           [3306]&#60;br /&#62;
        --version        [5.0.51b]&#60;br /&#62;
        --libmysqld-libs [-L/usr/local/mysql/lib/mysql -lmysqld -lz -lm]
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "MySQL error when configuring PHP"</title>
<link>http://diymacserver.com/forum/topic/mysql-error-when-configuring-php#post-482</link>
<pubDate>Sat, 31 May 2008 09:55:34 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">482@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Could you post the output of the mysql_config command ?
&#60;/p&#62;</description>
</item>
<item>
<title>clify on "MySQL error when configuring PHP"</title>
<link>http://diymacserver.com/forum/topic/mysql-error-when-configuring-php#post-478</link>
<pubDate>Fri, 23 May 2008 11:30:51 +0000</pubDate>
<dc:creator>clify</dc:creator>
<guid isPermaLink="false">478@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Having no joy compiling PHP on Leopard. Previous manage to install both Apache and MySQL. The configure script exits with the following:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;checking for MySQL support... yes&#60;br /&#62;
checking for specified location of the MySQL UNIX socket... no&#60;br /&#62;
checking for MySQL UNIX socket location... no&#60;br /&#62;
checking for mysql_close in -lmysqlclient... no&#60;br /&#62;
checking for mysql_error in -lmysqlclient... no&#60;br /&#62;
configure: error: mysql configure failed. Please check config.log for more information.&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I ran config with the following settings:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
/configure --prefix=/usr/local/php5 \&#60;br /&#62;
&#38;gt;   --mandir=/usr/share/man \&#60;br /&#62;
&#38;gt;   --infodir=/usr/share/info \&#60;br /&#62;
&#38;gt;   --sysconfdir=/etc \&#60;br /&#62;
&#38;gt;   --with-zlib \&#60;br /&#62;
&#38;gt;   --with-zlib-dir=/usr \&#60;br /&#62;
&#38;gt;   --with-openssl \&#60;br /&#62;
&#38;gt;   --enable-exif \&#60;br /&#62;
&#38;gt;   --enable-ftp \&#60;br /&#62;
&#38;gt;   --enable-mbstring \&#60;br /&#62;
&#38;gt;   --enable-mbregex \&#60;br /&#62;
&#38;gt;   --enable-sockets \&#60;br /&#62;
&#38;gt;   --with-mysql=/usr/local/mysql \&#60;br /&#62;
&#38;gt;   --with-mysqli=/usr/local/mysql/bin/mysql_config \&#60;br /&#62;
&#38;gt;   --with-apxs2=/usr/local/apache2/bin/apxs&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Does anyone have idea what my maybe wrong with my MySQL setup that cause PHP to fail to compile?&#60;/p&#62;
&#60;p&#62;TIA,&#60;/p&#62;
&#60;p&#62;clify
&#60;/p&#62;</description>
</item>

</channel>
</rss>

