php-sapi eclass includes: myconf="${myconf} --enable-sysvsem --enable-sysvshm --enable-sysvipc" --enable-sysvipc doesn't exist in php 4.3.8. I'm pretty sure --enable-sysvmsg was the intended flag. The way is it now the msg_* functions noted at http://us4.php.net/manual/en/ref.sem.php are not available.
fixed in cvs.