On Mon, Jan 2, 2012 at 8:11 AM, kibirango moses <kibsmoses@xxxxxxxxx> 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
- References:
- installation error : Php 5.3.8 with mysql 5.1.53
- From: kibirango moses
- installation error : Php 5.3.8 with mysql 5.1.53
- Prev by Date: installation error : Php 5.3.8 with mysql 5.1.53
- Next by Date: libldap-2.2.so.7: cannot open shared object file
- Previous by thread: installation error : Php 5.3.8 with mysql 5.1.53
- Next by thread: libldap-2.2.so.7: cannot open shared object file
- Index(es):