Topic: php 5.3 and mysql

PHP 5.3 now comes with support for a new native mysql library as a replacement for libmysql

http://www.php.net/mysqli.mysqlnd
http://dev.mysql.com/downloads/connector/php-mysqlnd/

It doesn't appear the remi php builds have been compiled for support of this.

Is it possible to get a remi build with support for mysqlnd ?

Re: php 5.3 and mysql

Please see : Bug #510951

I'm waiting for Joe feedback.

I will probably try to build both extension (in 5.3.1) to allow test / becnhmark.

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php 5.3 and mysql

It seems building both extensions (against libmysql and mysqlnd) is not possible.

I don't find a way to build mysqlnd as a shared lib (it must be statically linked in php core)

And I don't wand to drop classical extension (which are really mature, and works well)

To be followed.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php 5.3 and mysql

I think this worth reading : Re: [PHP-DEV] mysqlnd as a shared extension ? (on PHP Internals ML).

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php 5.3 and mysql

Hi,
I was wondering if you are any closer to finding a solution for this?

Thanks
Che

Re: php 5.3 and mysql

No solution yet.

Main issue is that mysqlnd is not designed to be build/used as an external library, so it is not possible to build both mysqlnd and mysql extension to be used with the same "core" php.

I have some idea on howto do this, but I don't have much time to work on this for now.

Perhaps I will build mysqlnd with php-zts (which is quite experimental)

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php 5.3 and mysql

Thats an interesting idea, give ppl the option to test this... Are all other extensions built against zts version of php, since extensions have to be built for it specifically

Re: php 5.3 and mysql

See : http://blog.famillecollet.com/post/2009 … nd-mysqlnd

Feedbacks are, of course, expected wink

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi