[packages/php] - mysqlnd requires hash now

Elan Ruusamäe glen at pld-linux.org
Wed Sep 5 20:08:52 CEST 2018


More specifically, how the problem manifests?

[root at blodnatt php73]# rpm -q php73-hash php73-mysqli; php73 -r
'mysqli_connect();'package php73-hash is not installed
php73-mysqli-7.3.0-0.beta3.1.x86_64
PHP Warning:  mysqli_connect(): (HY000/2002): Connection refused in Command
line code on line 1
[root at blodnatt php73]#
 21:04  [1]blodnatt [ 0 blodnatt  1* blodnatt

On Tue, Aug 21, 2018, 09:00 baggins <baggins at pld-linux.org> wrote:

> commit cc302397388202321c5b852375a6811ef412aa7a
> Author: Jan Rękorajski <baggins at pld-linux.org>
> Date:   Tue Aug 21 05:59:53 2018 +0000
>
>     - mysqlnd requires hash now
>
>  dep-tests.sh | 7 ++++---
>  php.spec     | 4 +++-
>  2 files changed, 7 insertions(+), 4 deletions(-)
> ---
> diff --git a/php.spec b/php.spec
> index a555435..d2c3c4a 100644
> --- a/php.spec
> +++ b/php.spec
> @@ -2484,6 +2484,8 @@ generate_inifiles() {
>                 [ "$mod" = "spl" ] && conf="SPL.ini"
>                 # session needs to be loaded before php-pecl-http,
> php-pecl-memcache, php-pecl-session_mysql
>                 [ "$mod" = "session" ] && conf="Session.ini"
> +               # hash needs to be loaded before mysqlnd
> +               [ "$mod" = "hash" ] && conf="Hash.ini"
>                 # mysqlnd needs to be loaded before mysqli,pdo_mysqli
>                 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
>                 echo "+ $conf"
> @@ -3131,7 +3133,7 @@ fi
>  %files hash
>  %defattr(644,root,root,755)
>  %doc ext/hash/{CREDITS,README}
> -%config(noreplace) %verify(not md5 mtime size)
> %{_sysconfdir}/conf.d/hash.ini
> +%config(noreplace) %verify(not md5 mtime size)
> %{_sysconfdir}/conf.d/Hash.ini
>  %attr(755,root,root) %{php_extensiondir}/hash.so
>  %endif
>
> diff --git a/dep-tests.sh b/dep-tests.sh
> index 18ea66c..3d1a398 100755
> --- a/dep-tests.sh
> +++ b/dep-tests.sh
> @@ -7,8 +7,9 @@ dep_spl="pcre simplexml"
>  dep_session="spl $dep_spl"
>  dep_filter='pcre'
>  dep_eaccelerator='session'
> -dep_mysql="$with_mysqlnd"
> -dep_mysqli="$dep_spl spl $with_mysqlnd"
> +dep_mysqlnd='hash'
> +dep_mysql="$dep_mysqlnd $with_mysqlnd"
> +dep_mysqli="$dep_spl spl $dep_mysqlnd $with_mysqlnd"
>  dep_pdo="$dep_spl spl"
>  dep_pdo_sqlite="$dep_pdo pdo"
>  dep_pdo_pgsql="$dep_pdo pdo"
> @@ -16,7 +17,7 @@ dep_pdo_oci="$dep_pdo pdo"
>  dep_pdo_odbc="$dep_pdo pdo"
>  dep_pdo_firebird="$dep_pdo pdo"
>  dep_pdo_dblib="$dep_pdo pdo"
> -dep_pdo_mysql="$dep_pdo pdo $with_mysqlnd"
> +dep_pdo_mysql="$dep_pdo pdo $dep_mysqlnd $with_mysqlnd"
>  dep_simplexml="$dep_spl spl"
>  dep_imap="pcre"
>  dep_phar="$dep_spl spl hash"
> ================================================================
>
> ---- gitweb:
>
>
> http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/cc302397388202321c5b852375a6811ef412aa7a
>
> _______________________________________________
> pld-cvs-commit mailing list
> pld-cvs-commit at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
>


More information about the pld-devel-en mailing list