Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 22:24:04

Author Topic: memcached how to  (Read 7954 times)

0 Members and 1 Guest are viewing this topic.

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
memcached how to
« on: 2013-04-19, 21:37:22 »
Hello guys is it possible to install memcached with kloxo mr final it it will brake things ?
if yes
install with "yum install memcached" and php-fpm restart?
and in which port will be running ?

I need this for an api project i have but not a big deal especialy if it breaks things. :)
thanks for your answers..

Web server nginx with php5.3u
Kloxo MR  6.5.0.f-2013031809
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: memcached how to
« Reply #1 on: 2013-04-19, 21:39:56 »
It works perfectly. It will work on port 12111.

Try:

yum install memcached
yum install php-pecl-memcache
yum install php-pecl-memcached
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: memcached how to
« Reply #2 on: 2013-04-19, 21:41:09 »
Thanks once more Spacedust  :D

php pecl doesnt it has to be php53u-pecl etc ? or it will install the correct version for my php (currently5.3u)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: memcached how to
« Reply #3 on: 2013-04-19, 21:45:32 »
Quote from: "djscooby"
Thanks once more Spacedust  :D

php pecl doesnt it has to be php53u-pecl etc ? or it will install the correct version for my php (currently5.3u)

Give a try. I use php from remi repo.

If not you can install it manually with phpize.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: memcached how to
« Reply #4 on: 2013-04-19, 22:13:18 »
i installed pecl and memcached for php53u version cause i use  kloxo-mr repos.. it works fine so if anyone need this here is the sollution

for php5.3u install with

Code: [Select]
yum install memcached
php53u-pecl-memcache
php53u-pecl-memcached
service php-fpm restart
and to verify if memcached is up & running..
Code: [Select]
php -i | grep memcache&running on port : 11211
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: memcached how to
« Reply #5 on: 2013-04-20, 05:08:04 »
I have these issues after the memcached...

yum update results :
Code: [Select]
---> Package httpd-tools.x86_64 0:2.2.24-1.el5 set to be updated
--> Processing Dependency: libmemcached.so.2()(64bit) for package: php53u-pecl-memcached
--> Processing Dependency: libmemcached.so.2(libmemcached_2)(64bit) for package: php53u-pecl-memcached
--> Finished Dependency Resolution
php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: libmemcached.so.2(libmemcached_2)(64bit) is needed by package php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 (installed)
php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: libmemcached.so.2()(64bit) is needed by package php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 (installed)
Error: Missing Dependency: libmemcached.so.2(libmemcached_2)(64bit) is needed by package php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 (installed)

Any idea on how to fix these ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: memcached how to
« Reply #6 on: 2013-04-20, 05:48:26 »
Try 'yum install php53u-pecl-memcached libmemcached'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: memcached how to
« Reply #7 on: 2013-04-20, 06:27:29 »
Quote from: "MRatWork"
Try 'yum install php53u-pecl-memcached libmemcached'
Thank you but unfortunately didn't work.. Error again...
Code: [Select]
Package php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package libmemcached.i386 0:0.31-1.1.el5 set to be updated
--> Processing Dependency: libmemcached.so.2()(64bit) for package: php53u-pecl-memcached
--> Processing Dependency: libmemcached.so.2(libmemcached_2)(64bit) for package: php53u-pecl-memcached
---> Package libmemcached.x86_64 0:1.0.4-3.el5 set to be updated
--> Finished Dependency Resolution
php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: libmemcached.so.2(libmemcached_2)(64bit) is needed by package php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 (installed)
php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: libmemcached.so.2()(64bit) is needed by package php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 (installed)
Error: Missing Dependency: libmemcached.so.2(libmemcached_2)(64bit) is needed by package php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 (installed)
Error: Missing Dependency: libmemcached.so.2()(64bit) is needed by package php53u-pecl-memcached-1.0.0-2.ius.el5.x86_64 (installed)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: memcached how to
« Reply #8 on: 2013-04-20, 06:40:37 »
I removed  php53u-pecl-memcached libmemcached and now yum works..
But how to install properly memcached for php5.3u without problems MR ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: memcached how to
« Reply #9 on: 2013-04-20, 08:55:35 »
Nothing problem with Kloxo-MR except conflict with other package like xcache.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: memcached how to
« Reply #10 on: 2013-04-20, 09:20:47 »
memcache & memcached is difference packagae
memcache : old fashion and easy handle
memcached : new and complicated handle
« Last Edit: 1970-01-01, 01:00:00 by Guest »
easy, secure and speed up web panel ===> Kloxo-MR

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: memcached how to
« Reply #11 on: 2013-04-26, 00:38:59 »
Make sure not to use beta version from memcache - it's very unstable and it trims pages.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.046 seconds with 18 queries.

web stats analysis