Jump to content

PHP7 and memcached - looking for opinions


Recommended Posts

So, I'm making a new LEMP server with a separated database and stuff, for a forum with all the new toys; ubuntu 16.04, nginx, MySQL 5.7 and PHP7.0

- Alas, it turns out that memcached for php7 isn't done yet!

I'm not really up for managing developer-versions and git repositories. I'm pretty new at this and looking for some input.

Would I be better off going with an earlier php-version that can handle memcached or what would you suggest? How important IS memcached actually, when it comes down to it?

Please chime in - I'm at a loss :o(

Link to comment
Share on other sites

Hi Astrapi - I was hoping you would show up :D

And I also hope that I am the one who's misunderstanding something. As I said, I'm still a bit new at this.

But here are a few links that say memcached does not support PHP 7.0 yet
https://pecl.php.net/package/memcached
https://github.com/php-memcached-dev/php-memcached/issues/213

If I do an

apt-cache search php7.0

nothing show up about memcached.

If I do an

apt-cache search memcached

this shows up:

php-memcached - memcached extension module for PHP5, uses libmemcached

Which makes me believe it wouldn't work with PHP 7.0

 

Here's the best advice I've found yet on how to install memcached for PHP 7.0
https://serverpilot.io/community/articles/how-to-install-the-php-memcache-extension.html

But as you can see, it requires me to install a lot of extra stuff, using developer-versions and using Make. I fear I would install something I cannot maintain.

Or am I just confusing myself?

Link to comment
Share on other sites

Memcached add support for php 7 from last December so it seems that you only need some correct instructions for your Distro (Ubuntu) and as i am not using it i want to recommend you to check using Google and also check my PM for some instructions that i may not be allowed to post here as they are linked to server providers tutorials :)

Test them and let us know :)

 

Link to comment
Share on other sites

20 hours ago, Eupolemos said:

So, I'm making a new LEMP server with a separated database and stuff, for a forum with all the new toys; ubuntu 16.04, nginx, MySQL 5.7 and PHP7.0

- Alas, it turns out that memcached for php7 isn't done yet!

I'm not really up for managing developer-versions and git repositories. I'm pretty new at this and looking for some input.

Would I be better off going with an earlier php-version that can handle memcached or what would you suggest? How important IS memcached actually, when it comes down to it?

Please chime in - I'm at a loss :o(

Try Centminmod - superb LEMP stack, updated daily and works flawlessly with IPS 4.x, although its on CentOS not Ubuntu - Support from EVA2000 is excellent as well

https://centminmod.com/install.html

https://centminmod.com/

 

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...