ID: 35848 Updated by: [EMAIL PROTECTED] 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:
There is NO SUCH ./configure OPTION like --with-mysql-dir. Please stop adding useless comments to the report. Previous Comments: ------------------------------------------------------------------------ [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) ------------------------------------------------------------------------ [2006-05-15 14:17:45] [EMAIL PROTECTED] Sure. Because there is no such ./configure option like "--with-mysql-dir". ------------------------------------------------------------------------ [2006-05-15 13:57:41] vktechnology at uk2 dot net The problem is fixed when using --with-mysql-dir=/usr/local/mysql instead of --with-mysql=/usr/local/mysql ******************************** cannot fix, after install will cannot connect to my sql by using PHP you will see this error "Fatal error: Call to undefined function mysql_connect() " and looking in info.php cannot see mysql too... ------------------------------------------------------------------------ [2006-05-02 22:23:35] ivanick at vet dot upenn dot edu Same bug on RH4.2 AMD64 as well, fix works (with-mysql-dir), my many thanks! ------------------------------------------------------------------------ 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