Support for this functions are not enabled by default.
To enable System V semaphore support compile PHP with the option
--enable-sysvsem.
To enable the System V shared memory support compile PHP with the option
--enable-sysvshm.
To enable the System V messages support compile PHP with the option
--enable-sysvmsg.