Results 1 to 7 of 7

Thread: Easyapache and memcached

  1. #1
    Join Date
    Mar 2010
    Posts
    360

    Easyapache and memcached

    Hello,
    I am using the cpanel for hosting the web pages. I would like to use the easyapache and memcache for my hosting. But I have very less idea about the memcache. I have manage the easyapache, but the problem is with the memcache. So, if you can provide me some more information on the memcache and the configuration of it would be great. Than you.

  2. #2
    Join Date
    Nov 2009
    Posts
    518

    Re: Easyapache and memcached

    Memcached is a high-performance, distributed memory object caching system, generic in Nature, Purpose Intended for use in speeding up dynamic web applications by alleviating database load. So basically, memcached is a caching system that stores data in RAM for speed. We therefore run a daemon on our server, you connect it (tcp) and sends and / or requests data, it is extremely simple. It should however keep in mind that data stored in shared memory are lost during a reboot, it will be intelligent and there will not anything. The ideal is to use as an adjunct to other caching system (file system) and store only data.

  3. #3
    Join Date
    Nov 2009
    Posts
    333

    Re: Easyapache and memcached

    If you need to install and configure memcache
    You can download from their official site
    or uses apt-get
    Code:
    example @: ~ $ sudo apt-get install memcached
    Edit / etc / memcached.conf modifies the ip and port to listen, and the memory allocated if necessary (it is also recommended that a specific user to start the daemon).
    Lance memcached using the following command line:
    Code:
    example @: ~ $ sudo / etc / init.d / memcached start
    Check that everything went well, no errors were logged (log file by default: / var / log / memcached).

  4. #4
    Join Date
    Dec 2009
    Posts
    292

    Re: Easyapache and memcached

    Memcached is a cache server that uses the RAM on the server to store its data. This storage mode guarantees fast reading well below the traditional system cd cache files.

    Memcached and eAccelerator can work together without any problem.

    - Memcached caches the results and variables php.
    - eAccelerator optimize PHP code.

    Prerequisites:
    - libevent
    - libevent-dev

  5. #5
    Join Date
    Mar 2010
    Posts
    338

    Re: Easyapache and memcached

    I would like to install the memcache PHP extension local to xampp. I use Windows as the operating system Vista SP1. There is indeed a good guide on the internet - but for Linux. Since I use Windows, I probably perform entirely different steps. And one more question: Do I need an extra or memcache daemon is installed with the PHP extension with?

  6. #6
    Join Date
    Apr 2008
    Posts
    240

    Re: Easyapache and memcached

    Have you deleted in c: / xampp / apache / bin / php.ini not just use the comment character '#' before the entry
    Code:
    extension = php_memcache.dll
    Apache and test new star? php_memcache.dll is located in the ext folder in php, it is very simple. Also you can find the help file in the directory and the installation process are provided there.

  7. #7
    Join Date
    Nov 2009
    Posts
    335

    Re: Easyapache and memcached

    CMD command under Windows Memcache must not install, then run.
    Code:
    path \ to \ install-d memcached.exe
    Code:
    path \ to \ memcached.exe-d start
    Stop with it:
    Code:
    path \ to \ memcached.exe d-stop
    In php.ini must also be enabled Memcache:
    Code:
    [Memcache]
    extension = php_memcache.dll
    memcache.allow_failover = 1
    memcache.max_failover_attempts = 20
    memcache.chunk_size = 8192
    memcache.default_port = 11 211
    "Extension = php_memcahce.dll" stand with me not even in it in php.ini, but must drinstehn To even work out. But working without memcached.exe of me at all.

Similar Threads

  1. How to add mod_security to centos 5 via easyapache
    By Tionontati in forum Software Development
    Replies: 6
    Last Post: 19-06-2010, 12:30 AM
  2. Tomcat version 6.x via EasyApache
    By Galimberti in forum Software Development
    Replies: 6
    Last Post: 18-06-2010, 03:58 AM
  3. Error compiling easyapache
    By Who is it in forum Software Development
    Replies: 6
    Last Post: 16-06-2010, 04:13 AM
  4. Using memcached to store the opcodes
    By Jagriti in forum Software Development
    Replies: 2
    Last Post: 28-07-2009, 02:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,715,968,675.14846 seconds with 17 queries