#### 问题描述
1.下载了`https://dl.zhamao.xin/php-bin/file/`的`php-8.1.8-static-bin-x86_64.tar.gz `文件
2.解压后放到`usr/local/bin`
3.然后启动项目`php start.php start`报错
```php
Error: Call to undefined function session_get_cookie_params() in .../vendor/workerman/workerman/Protocols/Http/Session.php:338
```
#### 操作系统及workerman/webman等框架组件具体版本
php版本
```bash
PHP 8.1.8 (cli) (built: Jul 15 2022 02:08:52) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.8, Copyright (c) Zend Technologies
```
php拓展
```bash
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
event
exif
FFI
fileinfo
filter
gd
hash
iconv
inotify
json
libxml
mbstring
mongodb
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
redis
Reflection
shmop
SimpleXML
soap
sockets
SPL
sqlite3
standard
swoole
tokenizer
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
```
```bash
"php": ">=7.2",
"workerman/webman-framework": "^1.5.0"
```