#46219 [Opn->Fbk]: pdo_mysql configure parameter ignored
| From: | johannes@php.net | Date: | Thu, 02 Oct 2008 15:28:36 +0000 |
| Subject: | #46219 [Opn->Fbk]: pdo_mysql configure parameter ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-129420@lists.php.net to get a copy of this message | ||
ID: 46219
Updated by: johannes@php.net
Reported By: norbi dot nagy at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: *Compile Issues
Operating System: Linux 2.6.18-6-amd64
PHP Version: 5.2.6
New Comment:
Does /usr/local/mysql51/bin/mysql_config exist? What's the output of
configure (The relevant part is starting with "checking for MySQL
support for PDO...")?
Previous Comments:
------------------------------------------------------------------------
[2008-10-02 14:03:51] norbi dot nagy at gmail dot com
Description:
------------
The configure script ignores the path in --with-pdo-mysql option.
Reproduce code:
---------------
My configure line:
./configure --with-apache=../apache_1.3.41 --with-libdir=lib64
--with-mysql-dir=/usr/local/mysql51 --with-pdo-mysql=/usr/local/mysql51
--with-curl --with-curlwrappers --with-zlib --enable-ftp
--enable-mbstring=all --with-iconv --with-freetype --with-gd --with-png
--with-jpeg --with-openssl --with-libexpat --with-xsl --enable-xslt
--with-xslt-sablot --with-sablot-js --with-mcrypt
Expected result:
----------------
The configure script uses the /usr/local/mysql51 path for pdo-mysql
extension.
Actual result:
--------------
The configure script uses the /usr/local/mysql (this is a symlink to a
mysql 5.0 installation) path instead of the configured one. When I
delete this symlink, the configure script uses the correct configured
path.
I tried the --with-mysql option instead of --with-mysql-dir, but the
result was the same.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46219&edit=1