Re: installation error : Php 5.3.8 with mysql 5.1.53
| From: | Ferenc Kovacs | Date: | Mon, 02 Jan 2012 09:07:00 +0000 |
| Subject: | Re: installation error : Php 5.3.8 with mysql 5.1.53 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-20136@lists.php.net to get a copy of this message | ||
On Mon, Jan 2, 2012 at 8:11 AM, kibirango moses <kibsmoses@gmail.com> 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