Re: missing after compile php5.3.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On 09/15/2011 05:53 AM, Smith, Mitchell wrote:
> hi,
> the with-my-sql was a typo in the email.
> I have corrected the path to mysql.... then saw an error relating to
> mysql needing the zlib library.... so my ./configure now is:
>     ./configure --with-mysql=/usr/bin/mysql
>     --with-apxs2=/usr/local/apache2/bin/apxs --prefix=/usr/local/php
>     --with-zlib-dir=/usr/local/zlib

Note that --with-mysql=/usr/bin/mysql is obviously wrong. /usr/bin/mysql
is the command-line MySQL client. --with-mysql takes the top-level
directory below which the lib and header files can be found, so in your
case you want --with-mysql=/usr

A typical set of flags for building against libmysqlclient would be:


Or as Ferenc suggested, use mysqlnd




[PHP Home]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [Why pay for online dating?]     [PHP Users]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]     [PHP Books]

  Powered by Linux