# thinkphp-serverless **Repository Path**: iguojin/thinkphp-serverless ## Basic Information - **Project Name**: thinkphp-serverless - **Description**: 将thinkphp5.1运行在serverless环境下,支持腾讯云serverless - **Primary Language**: PHP - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2020-03-03 - **Last Updated**: 2022-06-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 现在腾讯云已经官方支持web函数和docker部署,直接用官方的就好,这个项目没用了 web函数 https://cloud.tencent.com/document/product/583/56124 docker部署 https://cloud.tencent.com/document/product/583/56051 将Thinkphp5.1无差别运行在serverless环境 =============== ## 腾讯云 入口文件 ~~~ tencent.php ~~~ - 执行 `npm install` 安装依赖 - 执行 `sls deploy` 部署函数 ### 注意事项 - serverless代码目录不可写,需要修改cache,log等配置的写入path到/tmp目录 ### 已知问题 - html页面时,trace方法打印的数据无法显示在页面右下角的工具里