ID: 35848 Comment by: svetlovid at mail 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:
2 linuxrulez at bk dot ru Tnx man! All working fine! I have the same problem. Arch: i686 OS: Linux Slackware Current (04.06.2006) MySQL: 5.1.9 beta Apache 2.2.2 PHP ver. 5.1.4 have a installed glibc 2.3 after installing OS (minimum installation, but i've check for glibc - its already there) I have just download next one: mysql-5.1.9-beta-linux-i686-glibc23.tar.gz - making a standart installation procedure - making auto up/down script for system rebooting case. then install PHP 5.1.4 with this string: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php --with-mysql=/usr/local/mysql --with-gd --with-apxs2=/usr/local/apache2/bin/apxs --enable-ftp --enable-mbstring --with-zlib and all working DONE!! Realy tnx! Best regards, Oleg Previous Comments: ------------------------------------------------------------------------ [2006-05-20 08:03:17] linuxrulez at bk dot ru 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 ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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