ID: 35848 Comment by: linuxrulez at bk dot ru Reported By: shawn dot richards at ink dot ltd dot uk Status: Assigned Bug Type: MySQL related Operating System: Mac OS X Tiger. PHP Version: 5CVS-2005-12-30 (snap) Assigned To: andrey New Comment:
The problem solved very easy. Just download MySQL binary distribution according to YOUR GLIBC VERSION (2.2 or 2.3) or compile MySQL server from sources. Then use standard options (ex. --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config). Don`t want to make another mistakes? Choose right hosting service administrator! Need more info? ICQ: 55-77-90 Previous Comments: ------------------------------------------------------------------------ [2006-05-18 16:10:18] [EMAIL PROTECTED] For linux 64 bits system you need to add: --with-libdir=/lib64 to your configure line Please ask further support questions to the php installation mailing list. This is not a support medium. ------------------------------------------------------------------------ [2006-05-18 16:03:24] vktechnology at uk2 dot net still don't know how to fix this now I moved to use php 64 bit PHP RPM fedora I install webmin and download php-5.1.2-5.x86_64.rpm http://fr2.rpmfind.net/linux/RPM/index.html it work for me.. but i prefer ito compile form source.. ------------------------------------------------------------------------ [2006-05-17 06:25:55] [EMAIL PROTECTED] There is NO SUCH ./configure OPTION like --with-mysql-dir. Please stop adding useless comments to the report. ------------------------------------------------------------------------ [2006-05-17 02:53:19] tbednarek at gmail dot com I also cannot use any of the MySQL functions as it tells me that the extension could not be loaded. I tried both with --with-mysql=shared and --with-mysql-dir=/usr/local/mysql. ------------------------------------------------------------------------ [2006-05-17 01:36:30] rsmiderle at gmail dot com "exactly the problem is fixep by --with-mysql-dir=/path_to_mysql" I used this workaround and was able to compile everything, but I don't have mysql built into PHP. When I run: function_exists( 'mysql_connect' ) it returns false. Did anyone else get this problem? (I may have messed up the install in some other way, it's my first time installing) ------------------------------------------------------------------------ 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 http://bugs.php.net/35848 -- Edit this bug report at http://bugs.php.net/?id=35848&edit=1