Edit report at https://bugs.php.net/bug.php?id=35848&edit=1
ID: 35848
Comment by: lsastha at outlook dot com
Reported by: shawn dot richards at ink dot ltd dot uk
Summary: Failing when including --with-mysql
Status: Not a bug
Type: Bug
Package: MySQL related
Operating System: Mac OS X Tiger.
PHP Version: 5CVS-2005-12-30 (snap)
Assigned To: andrey
Block user comment: N
Private report: N
New Comment:
For a legacy installation, the problem got resolved in RHEL 6 after installing these RPMs:
rpm -ivh MySQL-shared-compat-advanced-5.6.14-1.el6.x86_64.rpm
rpm -ivh MySQL-shared-advanced-5.6.14-1.el6.x86_64.rpm
Just the first one is enough I guess, but I installed both.
Refer: https://dev.mysql.com/doc/refman/5.5/en/linux-installation-rpm.html
Previous Comments:
------------------------------------------------------------------------
[2012-11-12 12:43:53] varun1884 at gmail dot com
I faced the same error with following
OS : RHEL5 64-bit
Apache: 2.4.3
PHP : 5.4.8
MySQL : 5.5.28
I found that I had installed 32-bit MySQL instead of 64-bit. When I replaced the
MySQL 32-bit by MySQL 64-bit the problem was solved.
------------------------------------------------------------------------
[2007-02-09 10:17:45] tony2001@php.net
.
------------------------------------------------------------------------
[2007-02-09 07:36:32] zelzel dot zsu at gmail dot com
I meet the same problem.
Why php comminity distributed this full of known bugs programs.
You even can not get a chance to install on your server.
It's really frustrated and anoying.
------------------------------------------------------------------------
[2007-02-01 10:59:18] milnivlek at gmail dot com
I think I've figured out the definitive solution for this problem (at least for most people):
If you're building PHP for an x86 server, this problem apparently always occur when you use the
'Linux (x86, glibc-2.2, "standard" is static)' binary distribution from the
MySQL download page. Simply use the 'Linux (x86)' distribution instead, and the problem
should go away.
(The 'Intel C/C++ compiled' version doesn't seem to work either, so stick with the
regular one.)
Hope this helps.
------------------------------------------------------------------------
[2007-01-29 18:00:55] colin dot anderson at red-man dot com
You're getting this problem because the MySQL >>binaries<< do not come with certain
libraries that are created when you build from source on INTEL systems.
To resolve this problem, you need to download the appropriate libraries.
Visit >> http://dev.mysql.com/downloads/os-linux.html
And grab the appropriate library for your server. All of the latest MySQL releases are compiled
with the ICC9 libraries; so grab those for your appropriate architecture.
This should solve your problems; as stated repeatedly above, --WITH-MYSQL-DIR[=DIR] WILL NOT WORK.
:P
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=35848
--
Edit this bug report at https://bugs.php.net/bug.php?id=35848&edit=1