略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 安装

2024-12-20

安装

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.

add a noteadd a note

User Contributed Notes 1 note

up
0
sparcbr at gmail dot com
2 years ago
It should be mentioned that depending on the system, an module can be available.

On CentOS I just ran:
sudo yum install php73-php-sysvsem

then reload:
sudo service php-fpm reload (or apache, depending on your case)

and semaphore functions are now available.

官方地址:https://www.php.net/manual/en/sem.installation.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3