Re: New package: mysql_xdevapi
| From: | Remi Collet | Date: | Wed, 07 Dec 2016 16:00:38 +0000 |
| Subject: | Re: New package: mysql_xdevapi | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-14321@lists.php.net to get a copy of this message | ||
Le 07/12/2016 à 16:47, Johannes Schlüter a écrit :
> Bonjour,
:)
>
> On Tue, 2016-12-06 at 12:29 +0100, Remi Collet wrote:
>> Le 05/12/2016 à 10:54, Johannes Schlüter a écrit :
>>> Hi PECL community,
>>>
>>> I'd like to propose a new package mysql_xdevapi for PECL. Contrary to
>>> other mysqlnd PECL packages, which are just plugins with very little
>>> user-related surface, this is a new API for MySQL based on MySQL's new X
>>> protocol.
>>>
>>> Basic information on the API can be found here:
>>> http://dev.mysql.com/doc/x-devapi-userguide/en/
>>>
>>> The source is licensed under PHP License 3.01 and available as package
>>> on https://schlueters.de/mysql_xdevapi-1.0.0.tgz
>>>
>>> If nobody complains I'll put it up over the next few days.
>>
>> Just a quick try.
>>
>> configure fails in PHP_SETUP_OPENSSL
>>
>> checking for pkg-config... /usr/bin/pkg-config
>> configure: error: Cannot find OpenSSL's <evp.h>
>>
>> dropping this SSL part:
>
> Yeah, SSL had some issues, if you have a way to fix this we're happy to
> incorporate them :-)
AFIK, You only need to run it when in php tree, unneeded outside.
(perhaps have to rely on MYSQLND_HAVE_SSL, MYSQLND_SSL_SUPPORTED)
>
>> build fails with PHP 7.0
>>
>> unknown type name ‘MYSQLND_CSTRING’
>
> As you noticed we only support 7.1.
>
>> build fails with PHP 7.1
>>
>> ext/json/php_json_parser.h not found.
>>
>
> This header should be installed since Oct 18.
>
> https://github.com/php/php-src/commit/b7fe687914759cae706e318c3a4c245c9f71400d‚¿®¼ÖÁ¼’&àu¦
> ¬y
> Could you check why this is not the case on your system? An issue in
> ext/json?
This commit is master only, so not available in 7.1
Remi.
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc