Opened 8 years ago

Closed 6 years ago

Last modified 6 years ago

#50135 closed enhancement (fixed)

php-memcached update to php70

Reported by: an0nym@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: chris+macports@…, coviex@…, aiqui (Charlie Hileman), inspiration3@…, kierandelaney (kierandelaney), ron666 (Rafael Miranda), evanhuntley (Evan Huntley), arkonan (Alexandra Ellwood), MacTrophy, jhammer (Jonathan Hammer)
Port: php-memcached

Description

Could you update php-memcached to php70 since default php port is pointing to it?

Change History (29)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: ryandesign@… removed
Keywords: php memcached php-memcached removed
Owner: changed from macports-tickets@… to ryandesign@…
Type: updateenhancement
Version: 2.3.4

comment:2 Changed 8 years ago by ralfbecker (Ralf Becker)

Any news here?

I understand php-memcache is pretty old and might never support php70, but php-memcached seems to be quite close to something working:

https://github.com/php-memcached-dev/php-memcached/issues/213

Ralf

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

When they release a stable version that works with php 7 I will be happy to update the port to that version.

comment:4 Changed 8 years ago by chris+macports@…

Cc: chris+macports@… added

Cc Me!

comment:5 Changed 8 years ago by coviex@…

Cc: coviex@… added

Cc Me!

comment:6 Changed 8 years ago by aiqui (Charlie Hileman)

Also waiting for php70-memcached. Is there not a stable version?

comment:7 in reply to:  6 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to aiquicorp@…:

Also waiting for php70-memcached. Is there not a stable version?

Not that I know of.

comment:8 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: aiquicorp@… added

comment:9 Changed 8 years ago by aiqui (Charlie Hileman)

Thank you, Ryan!

I do not know about the MacPorts compilation of PHP7, but memcached for PHP7 is now available (and apparently stable) on Linux distributions such as Amazon AMI: php70-pecl-memcached.x86_64

comment:10 Changed 8 years ago by inspiration3@…

Cc: inspiration3@… added

Cc Me!

comment:11 Changed 8 years ago by kierandelaney (kierandelaney)

Cc: Hello@… added

Cc Me!

comment:12 Changed 7 years ago by ralfbecker (Ralf Becker)

php-memcached v3.0.0 for PHP 7.0 and 7.1 has been released 4 days ago:

https://github.com/php-memcached-dev/php-memcached/releases

Can we have that supported in ports please :)

Ralf

comment:13 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Good to know... I'll probably wait until that version is on PECL: https://github.com/php-memcached-dev/php-memcached/issues/317

comment:14 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

It has appeared on PECL.

It requires a newer version of libmemcached. The libmemcached port contains a number of curiosities which should be investigated to see if they're still needed with the new version.

comment:15 Changed 7 years ago by aiqui (Charlie Hileman)

Any update on this?

comment:16 Changed 7 years ago by ron666 (Rafael Miranda)

CC me too!

comment:17 Changed 7 years ago by evanhuntley (Evan Huntley)

Same here, let me know!

comment:18 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ron666 evanhuntley added

I've Cc'd you both now, but if you want to be notified of updates to tickets, it's most expedient to Cc yourself by pressing the "Cc Me!" button.

comment:19 Changed 7 years ago by arumals (arumals)

Any news here? Really needed for local testing.

comment:20 Changed 7 years ago by aiqui (Charlie Hileman)

Ryan, is there any way that I can assist you in enabling php70-memcached? I am a senior developer and could join the MacPorts development team. This package is essential for local testing, and we may have to abandon MacPorts without it. Thank you!

comment:21 Changed 7 years ago by chrisminett (Chris Minett)

This port currently depends on php-igbinary, but that has not been updated to support php70 / php71. I've added a ticket asking for that to be updated to a newer version: #53971

Other than that, I've got php-memcached working with php71 as a compile from source configured against the MacPorts libmemcached - this might be a good route for anyone else waiting on this ticket.

comment:22 Changed 7 years ago by aiqui (Charlie Hileman)

@chrisminett where did you pull in the source for php-memcached? Would you like to provide any compile details? This sounds like a reasonable approach.

comment:23 Changed 7 years ago by chrisminett (Chris Minett)

@aiqui see the GitHub URLs in comments above for the php-memcached source.

I can't remember exactly now, but it will have been something like getting a copy of the source (download or clone the version you want), then phpize, ./configure, make, and sudo make install

(usual warning: please be sure that you are confident in what you're installing before running/installing with elevated privs..!)

comment:24 Changed 7 years ago by arkonan (Alexandra Ellwood)

Cc: arkonan added

comment:25 Changed 6 years ago by MacTrophy

Cc: MacTrophy added

comment:26 Changed 6 years ago by jhammer (Jonathan Hammer)

Cc: jhammer added

comment:27 in reply to:  14 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newaccepted

Replying to ryandesign:

It requires a newer version of libmemcached. The libmemcached port contains a number of curiosities which should be investigated to see if they're still needed with the new version.

[96effd5dd254acb85cf250f37f8833e2dd894e71/macports-ports]

comment:28 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 42a5df5e1c3c1ee825f36c9806eeeadf595acc0f/macports-ports:

php-memcached: Update to 3.0.4 and add php7 support

Closes: #50135

comment:29 Changed 6 years ago by chrisminett (Chris Minett)

Superb, thanks!

Note: See TracTickets for help on using tickets.