php.net |  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
Votes:3
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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
Description:
------------
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 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 INFORMATION
mysql-5.0.67-linux-i686 (installed location is /usr/local/mysql)

Please suggest me what i should do. Thanks in advance

Reproduce code:
---------------
na

Expected result:
----------------
na

Actual result:
--------------
Not installed

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-16 14:52 UTC] johannes@php.net
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] jani@php.net
As I assume you installed the binaries provided at mysql.com, 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 mysql.com but inside that there is no folder called mysql-devel.so, what should i do now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 03:01:29 2024 UTC