Excellent software and practical tutorials
NextCloudI ran a quick installation on the server, the server environment is centos7+php7.4.3+nginx+mysql environment. Because I installed it manually before, I didn't use one-click installation environment like lnmp, nor did I use those panel management. After NextCloud was installed, something strange happened. Everything worked well, but I couldn't upload. When I clicked upload, it prompted that there was insufficient space. I thought it was a problem with the PHP extension!
Basically, I installed all the extensions that can be installed, but it still doesn't work! Then I played around with the NextCloud config for a long time, and basically understood the various functions of NextCloud config, but in the end I still couldn't upload!
The damn XX search results are basically posts from a few years ago, and there is little content about NextCloud, so I had to search on Google. I once suspected that the version released by NextCloud was a functional demonstration version. I searched NextCloud thoroughly but couldn't find the problem of being unable to upload. I guess this may be a one in ten million chance!
Finally, I focused on the nginx configuration file. I also installed apecha for testing. Finally, I found the problem. There was a question mark missing in the nginx configuration file! A question mark caused a lot of trouble!
Let's talk about where the problem lies. I encountered a one in ten million problem! After nginx was installed, PHP access was configured. The configuration file was used on wordpress before without any problems.
It failed on NextCloud! The problem lies in the parsing of PHP files. Please configure nginx according to the official recommended configuration file.
Recommended reading:Create a network disk for free and create your own private cloud NextCloud
Configuration file config settings in NextCloud