Hi, Reindl

I have solved it by deleting the directory of construction and indicate the use of shared library, as you indicate.
I also fix a problem with the command "source /etc/profile"

Previously he has tried with:
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd

And it returned me error when locating mysql_config.
for that reason probe indicating its route.


Collaboration from PHP:
http://news.php.net/php.internals/99746

Thanks for the help.

Guillermo Céspedes
Full Stack Developer



El 4 jul. 2017, a las 12:55, Reindl Harald <h.reindl@thelounge.net> escribió:



Am 04.07.2017 um 17:37 schrieb Guillermo Cespedes:
I am compiling MariaDB 10.2.6 and PHP 7.1.6
I'm trying it on Debian 8.8 32x and x64 on DigitalOcean
Tested with:
 --with-mysqli=/usr/local/mysql/bin/mysql_config
 --with-mysqli=/usr/local/mysql/bin/mariadb_config

why in the world do poeple in 2017 still link PHP against libmysql at all and how many of these posts do we get just because of the stupid libmysql to libmariadb rename without compat links?

[builduser@testserver:~]$ cat /rpmbuild/SPECS/php.spec | grep mysql
%package        mysqli
Summary:        mysqli
%description    mysqli
rm -f TSRM/tsrm_win32.h TSRM/tsrm_config.w32.h Zend/zend_config.w32.h ext/mysqlnd/config-win.h ext/standard/winver.h main/win32_internal_function_disabled.h main/win95nt.h
--enable-mysqlnd=shared \
--with-mysql-sock=%{_sharedstatedir}/mysql/mysql.sock \
--with-mysqli=shared,mysqlnd \
--with-pdo-mysql=shared,mysqlnd \

_______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to     : maria-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-discuss
More help   : https://help.launchpad.net/ListHelp