nextcloud报错"Internal Server Error"的解决方法

在使用nextcloud过程中,突然出现"Internal Server Error"错误,提示如下:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

通过查找原因,最后有两种解决方法:

1.安装APCu扩展

2.清空数据表oc_filecache数据

通过方法2解决了我的问题.