You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.2 KiB
61 lines
1.2 KiB
3 years ago
|
<?php
|
||
|
/*
|
||
|
* @Author: witersen
|
||
|
* @Date: 2022-04-24 23:37:06
|
||
|
* @LastEditors: witersen
|
||
|
* @LastEditTime: 2022-05-07 00:44:27
|
||
|
* @Description: QQ:1801168257
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* 修改该配置文件后需要重启守护进程程序(svnadmind.php)
|
||
|
*/
|
||
|
|
||
|
return [
|
||
|
|
||
|
/**
|
||
|
* 程序与守护进程通信的本地地址
|
||
|
* 不要修改
|
||
|
*/
|
||
|
'IPC_ADDRESS' => '127.0.0.1',
|
||
|
|
||
|
/**
|
||
|
* 程序与守护进程通信的本地端口
|
||
|
* 如与现有业务端口冲突 请自行修改
|
||
|
*/
|
||
|
'IPC_PORT' => 6666,
|
||
|
|
||
|
/**
|
||
|
* socket_read 和 socket_write 的最大传输字节
|
||
|
* 如果没有需要 8192 字节已经极大的满足需求
|
||
|
*/
|
||
|
'SOCKET_READ_LENGTH' => 8192,
|
||
|
'SOCKET_WRITE_LENGTH' => 8192,
|
||
|
|
||
|
/**
|
||
|
* socket 处理并发的最大队列长度
|
||
|
*/
|
||
|
'SOCKET_LISTEN_BACKLOG' => 2000,
|
||
|
|
||
|
/**
|
||
|
* 当前程序支持的最低PHP版本
|
||
|
*/
|
||
|
'Required_PHP_VERSION' => '5.5',
|
||
|
|
||
|
/**
|
||
|
* CLI程序需要解除禁止的函数
|
||
|
*/
|
||
|
'CLI_NEEDED_FUNCTION' => [
|
||
|
'pcntl_fork',
|
||
|
'pcntl_signal',
|
||
|
'pcntl_wait',
|
||
|
'shell_exec'
|
||
|
],
|
||
|
|
||
|
/**
|
||
|
* FPM模式需要解除禁止的函数
|
||
|
*/
|
||
|
'FPM_NEEDED_FUNCTION' => [],
|
||
|
|
||
|
];
|