ID: 35107 Updated by: [EMAIL PROTECTED] Reported By: alex at whitewhale dot net -Status: Feedback +Status: Closed Bug Type: PDO related Operating System: MacOS X 10.4.3 PHP Version: 5CVS-2005-11-05 (snap) Assigned To: wez New Comment:
Actually, it will work if you pass the configure option correctly, just like with --with-mysqli. Previous Comments: ------------------------------------------------------------------------ [2005-11-07 15:33:20] [EMAIL PROTECTED] What does it say in config.log? (if anything, don't paste the whole file, only 5 last lines MAX!) ------------------------------------------------------------------------ [2005-11-05 22:59:07] alex at whitewhale dot net Okay, tried the following with latest snapshot: rm config.cache ./configure --with-apxs=/usr/sbin/apxs --prefix=/usr --with- mysqli=/usr/local/mysql/bin/mysql_config --with-zlib --with- pdo-mysql It fails to run with: checking for MySQL support for PDO... yes checking for mysql_config... not found configure: error: Cannot find MySQL header files under I have verified that /usr/local/mysql/bin/mysql_config is there and mysql.h is in /usr/local/mysql/include. This was a standard MySQL 5.0.15 install with the MacOS X installer. If I use the same configure line without --with-pdo-mysql it finishes configure successfully. ------------------------------------------------------------------------ [2005-11-05 17:20:32] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip I just committed a fix; please try the next snapshot. ------------------------------------------------------------------------ [2005-11-05 16:38:52] [EMAIL PROTECTED] Assigned to the PDO maintainer. ------------------------------------------------------------------------ [2005-11-05 12:39:07] [EMAIL PROTECTED] So now we've found out that the problem isn't in ext/mysqli. Try this configure line (with the usual "rm config.cache" and "make clean", which are only needed if you're not using fresh sources everytime) # ./configure --disable-all --enable-pdo --with-pdo-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/35107 -- Edit this bug report at http://bugs.php.net/?id=35107&edit=1