/thinkphp6-workerman

The purpose is to run the ThinkPHP6.1 framework in Workerman to implement the resident memory to improve the performance.

Primary LanguagePHP

thinkphp6-workerman

This project uses the ThinkPHP6.1 framework and Linkerman (based on Workerman) to build a project template.

The purpose is to run the ThinkPHP6.1 framework in Workerman to implement the resident memory to improve the performance.

Requirements

  • PHP >= 8.0

Installation

git clone https://github.com/zhanguangcheng/thinkphp6-workerman.git
cd thinkphp6-workerman
composer install --optimize-autoloader --classmap-authoritative

Start the service

Add to php.ini file

disable_functions=set_time_limit,header,header_remove,headers_sent,headers_list,http_response_code,setcookie,setrawcookie,session_start,session_write_close,session_status,session_id,session_name,session_save_path,session_regenerate_id,session_unset,session_destroy,session_set_cookie_params,session_get_cookie_params,is_uploaded_file,move_uploaded_file
php server.php start

Security Vulnerabilities

If you discover a security vulnerability within thinkphp6-workerman, Please submit an issue or send an e-mail to zhanguangcheng at 14712905@qq.com. All security vulnerabilities will be promptly addressed.

References