The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installing Shmem

Discussion in 'General Discussion' started by stellarbytes, Jan 24, 2013.

  1. stellarbytes

    stellarbytes Member

    Joined:
    Aug 26, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    I'm running WHM 11.34.1 on CENTOS 5.9, Apache 2.2.23 and PHP 5.3.21.

    I need to set up 'Shmem' cache type, which I believe requires Shmop PHP module. However, I cannot find Shmop in the exhaustive list of modules through EasyApache. In fact, I find very few mentions of 'shmem' or 'shmop' on this,and many other, forums.

    Can anybody advise if this is possible with my current setup?

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,737
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Per PHP documentation, you will need to compile PHP with the "--enable-shmop" parameter in your configure line to use shmop. You will need to create a custom configure flag for this PHP extension. More information on custom configure flags can be found at:

    Custom Configure Flags

    For example, in this case you could create the following file:

    Code:
    /var/cpanel/easy/apache/rawopts/all_php5
    Within this file, add the following line:

    Code:
    --enable-shmop
    You can then run EasyApache to complete the installation. Modifying configure flags can result in a non-functional Apache build. cPanel takes no responsibility for custom changes, nor do we provide any warranty for what you do with this information. Proceed with caution.

    Thank you.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I've filed a case with our EasyApache team to add the shmop extension.
     
  4. stellarbytes

    stellarbytes Member

    Joined:
    Aug 26, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    More than enough reason for me to avoid trying this then! Thanks for your assistance anyway, although I presume to revert back would be to remove that line from the file path you stated, and the run EasyApache and/or restarting Apache?
    Thanks, is this request likely to be approved and added into EasyApache any time soon?
     
  5. ScottTh

    ScottTh Well-Known Member

    Joined:
    Jan 28, 2013
    Messages:
    157
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hello stellarbytes,

    This feature is on the EasyApache team's radar for the near future. There are no firm dates at the moment, but we'll be exploring it soon.

    Thank you!
     
Loading...

Share This Page