php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67820 install error
Submitted: 2014-08-11 10:24 UTC Modified: 2017-10-24 04:27 UTC
Votes:5
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (40.0%)
From: 14104077 at qq dot com Assigned:
Status: Suspended Package: mysqlnd_ms (PECL)
PHP Version: 5.5.15 OS: centos6.5 x86_64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-08-11 10:24 UTC] 14104077 at qq dot com
Description:
------------
---
From manual page: http://www.php.net/mysqlnd-ms.changes-one-six
---
[root@localhost mysqlnd_ms-1.6.0]# /usr/local/php/bin/php -v
PHP 5.5.14 (cli) (built: Aug 11 2014 00:43:39) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
[root@localhost mysqlnd_ms-1.6.0]# /usr/local/php/bin/php -m
[PHP Modules]
Core
ctype
curl
date
dom
ereg
fileinfo
filter
gd
hash
iconv
igbinary
json
libxml
mbstring
mcrypt
memcache
memcached
mysql
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
shmop
SimpleXML
soap
SPL
sqlite3
standard
sysvshm
tokenizer
xml
xmlreader
xmlwriter
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

[root@localhost mysqlnd_ms-1.6.0]# /usr/local/php/bin/phpize
[root@localhost mysqlnd_ms-1.6.0]# ./configure --with-php-config=/usr/local/php/bin/php-config
[root@localhost mysqlnd_ms-1.6.0]# make
/bin/sh /root/soft/lamp/mysqlnd_ms-1.6.0/libtool --mode=compile cc  -I. -I/root/soft/lamp/mysqlnd_ms-1.6.0 -DPHP_ATOM_INC -I/root/soft/lamp/mysqlnd_ms-1.6.0/include -I/root/soft/lamp/mysqlnd_ms-1.6.0/main -I/root/soft/lamp/mysqlnd_ms-1.6.0 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /root/soft/lamp/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c -o php_mysqlnd_ms.lo 
 cc -I. -I/root/soft/lamp/mysqlnd_ms-1.6.0 -DPHP_ATOM_INC -I/root/soft/lamp/mysqlnd_ms-1.6.0/include -I/root/soft/lamp/mysqlnd_ms-1.6.0/main -I/root/soft/lamp/mysqlnd_ms-1.6.0 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/include/libxml2 -DHAVE_CONFIG_H -g -O2 -c /root/soft/lamp/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c  -fPIC -DPIC -o .libs/php_mysqlnd_ms.o
/root/soft/lamp/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c: In function ‘zif_mysqlnd_ms_dump_servers’:
/root/soft/lamp/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c:788: error: too few arguments to function ‘zend_llist_apply_with_argument’
/root/soft/lamp/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c:789: error: too few arguments to function ‘zend_llist_apply_with_argument’
/root/soft/lamp/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c: In function ‘mysqlnd_ms_dump_fabric_hosts_cb’:
/root/soft/lamp/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c:804: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/local/php/include/php/Zend/zend_API.h:381: note: expected ‘char *’ but argument is of type ‘const char *’
make: *** [php_mysqlnd_ms.lo] Error 1

Expected result:
----------------
for use mysql fabric, i have to try install mysqlnd_ms1.6.0.
but error occured when i install mysqlnd_ms1.6.0.



Patches

mysqlnd_ms-1.6.0.tgz (last revision 2014-08-11 10:26 UTC by 14104077 at qq dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 04:27 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 04:27 UTC] kalle@php.net
I'm gonna suspend this report as the mysqlnd_ms had not a release since 2013 or active commit activity since then, if activity comes back to this package, it should be re-opened
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 23:01:28 2019 UTC