php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45112 Not able to configure Php with MySQL.
Submitted: 2008-05-28 05:50 UTC Modified: 2008-05-29 22:50 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: priyadharshini dot rajesh at ge dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.2.5 OS: Solaris 10
Private report: No CVE-ID: None
 [2008-05-28 05:50 UTC] priyadharshini dot rajesh at ge dot com
Description:
------------
I want to install Php 5.2.5 on Solaris 10 with the support of MySQL.
Once the php is ready I will be conencting it to the MySQL server present remotely. MySQL server is not installed locally. But I have the MySQL header files and the libmysqlclient files in a folder.(Not sure how it came). Now when I try the following Php configure command getting the following error:

checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find libmysqlclient_r under /usr/local.
Note that the MySQL client library is not bundled anymore!

My Configure cmd is:

./configure  --prefix=/apps/php/current --with-apxs2=/apps/apache/current/bin/apxs --with-config-file-path=/apps/php/current/ --with-mysql=/usr/local/include/mysql/

I searched for this bug but not able to get any concrete solution. So raised a bug report. If u have a relevant bug for this please let me know the number and I can check it.


Expected result:
----------------
I expect to see the Php being configured with the MySQL support. I have never seen that ebfore so will not be able to provide you the actual configure lines I expect


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-28 14:27 UTC] priyadharshini dot rajesh at ge dot com
Changed the OS entry
 [2008-05-29 22:50 UTC] jani@php.net
You don't have properly installed header/libraries of Mysql. This is not any PHP bug, ask further support questions elsewhere.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 16:01:36 2024 UTC