Can't compile PHP semaphore module


Oct 12, 2011
cPanel Access Level
Root Administrator
Hi, I'm trying to install the Semaphore and pcntl_fork modules and I'm having some issues with the semaphore module

I'm using this tip to install PHP: Installation - Manual

It says: Support for this functions are not enabled by default. To enable System V semaphore support compile PHP with the option --enable-sysvsem

I edit the file /var/cpanel/easy/apache/rawopts/all_php5 and add:
'--enable-pcntl' '--enable-sysvsem'

Then I recompile the apache using /scripts/easyapache

but I'm receiving invalid Option about the semaphore option.

Does anyone know what should I do? I really need this module.
Last edited: