![]() |
|
Thread Tools |
#1
|
|||
|
|||
Can I install Memcached with PHP 7.1?
I want to use php7.1, memcached and mariadb for my hosting forum but I failed to install memcached on php7.0 around 2 months ago. Recent weeks I heard about PHP7.1 has been released and heard that it supported memcached. !?!?
I want to try again with vB 4.2.5 which supports PHP 7, it will help my vB forum load faster. My question is, can I install Memcached with PHP 7.1? Did any one try this? and succeeded? Thanks in advance. No members have liked this post.
|
#2
|
|||
|
|||
I believe it does not support PHP 7 yet. Just configure PHP OPCache properly and you don't even need memcached.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. The following members like this post: [email protected], Mattwhf
|
#3
|
|||
|
|||
Originally Posted by Dave
It's not a good news when reading this but I will try to setup a VPS server and test this next weeks or months.![]()
I saw memcached helped our forum load faster (beside Cloudflare) and I could not remove this option though. I had PHP OPCache installed on the server but to be honest it can not compare with memcached.
__________________
Web Hosting Forum - Learn web hosting and offer your hosting services for FREE! Bếp từ nhập khẩu châu âu chất lượng cao. No members have liked this post.
|
#4
|
|||
|
|||
Originally Posted by Mattwhf
I'd say you don't really need memcached anymore since the performance gain would be minimal due to PHP 7 having tons of optimizations. It's not only faster, it also does not consume a massive amount of memory anymore.
![]()
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. No members have liked this post.
|
#5
|
||||
|
||||
Originally Posted by Mattwhf
vBulletin supports Memcache, not Memcached, there are Memcache modules available for PHP 7.1![]()
You are better off just using APCu (for the datastore) & OPCache for php caching. My test server runs php 7.1 like this.
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. The following members like this post: KevinL, bzcomputers
|
#6
|
||||
|
||||
Originally Posted by Dave
Thanks Dave, I will keep this advice.![]()
Originally Posted by Paul M
Not sure memache or memcached but I need to run these codes in config.php file![]()
and that requires memcache
Originally Posted by Paul M
I installed OPcache but not sure APCu is which you are mentioning to..where can I read tutorisl on how to install it or integrate it with vB 4.![]()
My vB4 is working as a charm and it would be more greater if I run it with php7 and mariadb. Thank you!
__________________
Web Hosting Forum - Learn web hosting and offer your hosting services for FREE! Bếp từ nhập khẩu châu âu chất lượng cao. No members have liked this post.
|
#7
|
||||
|
||||
Originally Posted by Mattwhf
As I said, vB supports Memcache.![]()
The class is badly named as Memcached, I have no idea why, but that's fixed in 4.2.5. As to APCu, google it ![]()
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#8
|
||||
|
||||
Originally Posted by Paul M
Hello,![]()
Is their any specific config to edit in APCu to increase performance and compatibility with vBulletin ? Also another question is 4.2.5 compatible with PHP 7.1 ? Thanks No members have liked this post.
|
#9
|
||||
|
||||
Originally Posted by Code Geass
Just like with any other datastore cache, you should set it up initially, and then monitor the memory it uses, regardless of what application is using it. ![]()
My test site has the default single 32M segment and that seems to be far more than it needs, so it runs great. Aside from any issues not yet encounted, yes.
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 09:26.