|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46880 Configuration Problem
Submitted: 2008-12-16 11:49 UTC Modified: 2008-12-17 04:29 UTC
Avg. Score:4.3 ± 0.9
Reproduced:0 of 0 (0.0%)
From: bineet dot kumar at wipro dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.2.8 OS: Linux RHEL 5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bineet dot kumar at wipro dot com
New email:
PHP Version: OS:


 [2008-12-16 11:49 UTC] bineet dot kumar at wipro dot com
When i am trying to configure PHP with this option
 ./configure --with-apxs2=/usr/web_server2.0.59/bin/apxs --disable-debug --enable-ftp --enable-inline-optimization --enable-magic-quotes --enable-mbstring --enable-mm=shared --enable-safe-mode --enable-track-vars --enable-trans-sid --enable-wddx=shared --enable-xml --with-dom --with-gd --with-gettext --with-mysql=/usr/local/mysql --with-regex=system --with-xml --with-zlib-dir=/usr/lib

Getting error is :-
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

PHP 5.2.8 (cli) (built: Dec 15 2008 19:57:27)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

mysql-5.0.67-linux-i686 (installed location is /usr/local/mysql)

Please suggest me what i should do. Thanks in advance

Reproduce code:

Expected result:

Actual result:
Not installed


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-16 14:52 UTC]
Do you have the mysql-devel package from your distribution installed?
 [2008-12-16 14:59 UTC] bineet dot kumar at wipro dot com
mysql-devel package is not available in mysql distribution
 [2008-12-16 15:09 UTC] bineet dot kumar at wipro dot com
i have checked in mysql. mysql-devel is not present there. But can you tell me how this is related to the problem
 [2008-12-16 18:00 UTC]
As I assume you installed the binaries provided at, you most likely did not install the "headers and libraries" package. Install that and the configure will pass.
 [2008-12-17 04:29 UTC] bineet dot kumar at wipro dot com
i have taken tar file of mysql from but inside that there is no folder called, what should i do now.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jul 04 02:05:45 2022 UTC