Re: [PHP-INSTALL] installation error : Php 5.3.8 with mysql 5.1.53

[email protected] (Ferenc Kovacs)
Newsgroups php.install
Message-ID <CAH-PCH7weuFSKckGEDPOx34WUveu9YqR6N6SM3gEW3Wp48THpA@mail.gmail.com>
On Mon, Jan 2, 2012 at 8:11 AM, kibirango moses <[email protected]> wrote:

> Hullo users, Happy new year,
>
> I am trying to install php 5.3.8 stable version with mysql 5.1.53 and
> i am getting the error below:
>
> Config Statement
>
> ./configure --with-apxs2=/usr/sbin/apxs --enable-mbstring
> --with-mysql=/usr/local/mysql
> --with-mysql-sock=/var/run/mysql/mysql.sock --with-jpeg-dir=/usr
> --with-gd --enable-sockets --with-pear --with-freetype-dir=/usr
> --with-zlib-dir=/usr --with-iconv --with-curl --with-openssl
> --with-mysqli --enable-soap --with-xmlrpc --enable-zip
> --enable-pdo=shared --with-pdo-mysql=shared --with-sqlite=shared
> --with-pdo-sqlite=shared
>
> Error :
> checking whether to enable embedded MySQLi support... no
> mysql_config not found
> configure: error: Please reinstall the mysql distribution
> :/usr/local/src/php-5.3.8# mysql -V
> mysql  Ver 14.14 Distrib 5.1.53, for pc-linux-gnu (i686)
> :/usr/local/src/php-5.3.8# cat /etc/slackware-version
> Slackware 13.0.0.0.0
>
> Users how can i fix this for mysql to be configured with php-5.3.8
>
> Thanx in advance
>

do you have mysql_config ?
where is that located?
could you change  --with-mysqli  to
--with-mysqli=/where/your/mysql/installation/is
? (I guess in your case that would be /usr/local/mysql/, but I'm not that
familiar with slackware)
check out this link, it can be useful:
http://www.spiration.co.uk/post/1332/install-PDO_MYSQL---mysql_config-and-header-files-problem

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.