php GMP extension

Questions about HTTP Access/Mods may go here
Forum rules
Please note the disclaimer before modifying your Synology Product.
ferdo
I'm New!
I'm New!
Posts: 4
Joined: Wed May 27, 2015 12:10 pm

php GMP extension

Postby ferdo » Wed May 27, 2015 12:16 pm

Hi,

I've compiled the GMP PHP extension for a DS214+ running DSM 5.2 myself.

This means a huge speed increase going from bcmath to gmp! :D

If anyone is interested in the armadaxp version of gmp.so file, he can email me....

Ferdinand Oeinck,
Big Roses Software.
ferdo
I'm New!
I'm New!
Posts: 4
Joined: Wed May 27, 2015 12:10 pm

Re: php GMP extension

Postby ferdo » Thu Oct 22, 2015 10:19 am

Sofar I have gmp.so for DSM 5.2 for the following processors:

    - armadaxp, Marvell Armada XP, ARM
    - armada370, Marvell Armada 370, ARM
    - 853x, Freescale 8533, PowerPC

Ferdinand Oeinck
Big Roses Software
ashwin2101
I'm New!
I'm New!
Posts: 1
Joined: Fri Oct 30, 2015 11:01 pm

Re: php GMP extension

Postby ashwin2101 » Fri Oct 30, 2015 11:08 pm

ferdo wrote:Sofar I have gmp.so for DSM 5.2 for the following processors:

    - armadaxp, Marvell Armada XP, ARM
    - armada370, Marvell Armada 370, ARM
    - 853x, Freescale 8533, PowerPC

Ferdinand Oeinck
Big Roses Software


Hi Ferdinand i'am interested in the gmp.so file. I can't see your email.

Greetings Ashwin
ferdo
I'm New!
I'm New!
Posts: 4
Joined: Wed May 27, 2015 12:10 pm

Re: php GMP extension

Postby ferdo » Mon Nov 02, 2015 5:59 pm

Sofar I have compiled gmp.so for DSM 5.2 for the following processors:

    6281, Marvell Kirkwood mv6282, ARM
    853x, Freescale 8533, PowerPC
    alpine, Annapurna Alpine, armv7l
    armada370, Marvell Armada 370, ARM
    armada375, Marvell Armada 375 armv7l
    armadaxp, Marvell Armada XP, ARM
    avoton, Intel Atom C2538 x86_64
    bromolow, Intel Core i3, x86
    cedarview, Intel Atom D2700 x86_64
    comcerto2k, Mindspeed Comcerto 2000 armv7l
    evansport, Intel Atom CE5335 i686
    northstarplus, RT1900ac
    qoriq, Freescale QorIQ P1022, PowerPC
Download it here: http://bigroses.dd-dns.de/gmp/gmp.zip

Copy the gmp.so file for your architecture to /usr/lib/php/modules

Add the following line to the end of the file /etc/php/conf.d/user-settings.ini

Code: Select all

extension = gmp.so

Restart php-fmp:

Code: Select all

/usr/syno/sbin/synoservicectl --restart php-fpm

Important: After your Synology is updated with a newer version of the DSM, you probably need to copy the gmp.so file again to /usr/lib/php/modules

Ferdinand Oeinck
Big Roses Software
cLysen
I'm New!
I'm New!
Posts: 3
Joined: Wed Feb 10, 2016 1:44 pm

Re: php GMP extension

Postby cLysen » Thu Feb 11, 2016 9:42 pm

Hi,
i need the gmp.so for my DS216play (monaco). Can you provide this too or tell me how to compile?
ferdo
I'm New!
I'm New!
Posts: 4
Joined: Wed May 27, 2015 12:10 pm

Re: php GMP extension

Postby ferdo » Thu Feb 11, 2016 10:38 pm

I will try to compile one for Monaco if I can find the toolchain for it.

In the mean time you could try one of the versions for the armv7l processor.

The Monaco architecture has a dual cortex A9 ARM chip, which supports armv7l.

Ferdinand
cLysen
I'm New!
I'm New!
Posts: 3
Joined: Wed Feb 10, 2016 1:44 pm

Re: php GMP extension

Postby cLysen » Thu Feb 11, 2016 11:30 pm

Thanks so far. The gmp from alpine seems to work. Just copied the gmp.so to /usr/lib/php/modules and activated using the GUI (Control Panel > Web Services > PHP Settings). :D
cLysen
I'm New!
I'm New!
Posts: 3
Joined: Wed Feb 10, 2016 1:44 pm

Re: php GMP extension

Postby cLysen » Fri Feb 19, 2016 9:23 pm

Today i changed from ds216play to ds216+ and the gmp.so for bromolow, Intel Core i3, x86 works!

Return to “HTTP/Apache Mods”

Who is online

Users browsing this forum: No registered users and 1 guest