On Di, 2017-07-04 at 13:39 -0300, Guillermo Cespedes wrote:
> See in: https://lists.launchpad.net/maria-discuss/msg04668.html

Thanks, the --version output is of course unfortunate, as I can't
distinguish in a good way between MariaDB and a future MySQL 10, except
by guessing from program name ... anyways I'll see what I can do.

> I also tried the following:
> 
> --enable-mysqlnd \
> --with-mysqli=mysqlnd \
> --with-pdo-mysql=mysqlnd \
> --with-mysql-sock=/var/run/mysqld/mysqld.sock
> 
> It returns an error that can not find mysql_config

Works nicely for my:system, which doesn't have mysql_config in PATH:

$ mysql_config
The program 'mysql_config' is currently not installed. You can install
it by typing:
sudo apt install libmysqlclient-dev



$ sapi/cli/php -v
PHP 7.1.8-dev (cli) (built: Jul  4 2017 19:05:05) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

$ sapi/cli/php -i | grep Configure
Configure Command =>  '../../php-7.1/configure'  '--enable-mysqlnd' '
--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-mysql-
sock=/var/run/mysqld/mysqld.sock'

Maybe you have old autoconf cache files lying around or such? Can you
try on a clean tree? If this doesn't help please provide the config.log
file.

johannes


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to