How to enable SYSVSHM in Cpanel server

Sysvshm module provides wrappers for the System V IPC family of functions. It includes semaphores, shared memory and inter-process messaging (IPC). This module provides also shared memory functions using System V shared memory. Shared memory may be used to provide access to global variables. Different httpd-daemons and even other programs (such as Perl, C, ...) are able to access this data to provide a global data-exchange.

This tutorial explains the steps to enable sysvshm module in Cpanel server.

Create a file appropriate to the php version in the server.

For all PHP 4 versions — /var/cpanel/easy/apache/rawopts/all_php4
For all PHP 5 versions — /var/cpanel/easy/apache/rawopts/all_php5

Add this to the file: --enable-sysvshm

Run easyapache and recompile apache,php

Leave a Reply