tp5接口返回500 internal server error
原创
52cxy
05-04 15:33
回复数:1
调用tp5开发的接口请求时,接口数据正常返回,但是http code 返回500 internal server error.
共1条回答

52cxy·2023/05/04
这个runtime目录权限未正常设置导致的,该目录需要读和写权限,使用下面的命令设置好权限即可解决。
chmod 777 runtime
评论
举报
最近更新
- General error: 1366 Incorrect string value: '
- cURL and libcurl 有何区别与联系
- PHP_XLSXWriter 使用教程
- postgres installation the database cluster in
- error TS2583: Cannot find name 'Map'. Do you
- Failed to mount component: template or render
- Error: libzip5-tools conflicts with libzip-0.
- Got error 'PHP message: PHP Fatal error: Unc
- mysql中使用select into from报错
- General error: 1390 Prepared statement contai