stellarbytes

Member
Aug 26, 2009
14
0
51
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!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 

stellarbytes

Member
Aug 26, 2009
14
0
51
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.
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?
I've filed a case with our EasyApache team to add the shmop extension.
Thanks, is this request likely to be approved and added into EasyApache any time soon?
 

ScottTh

Well-Known Member
Jan 28, 2013
157
2
18
Houston, TX
cPanel Access Level
Root Administrator
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?
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!