Home > Article > Backend Development > What should I do if the php runtime cannot be written?
The solution to the problem that php runtime is not writable: first use the terminal to enter your server; then find the current directory; and finally execute the "chmod 777 -R Runtime" command.
The operating environment of this article: windows7 system, thinkphp v6 version, DELL G3 computer
Specific questions:
Thinkphp installed on the cloud server on Alibaba prompts this error. The directory [./Runtime/] is not writable!
Solution:
Use the terminal to enter your server;
Find the current directory;
Then type 'chmod 777 -R Runtime
' this command.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of What should I do if the php runtime cannot be written?. For more information, please follow other related articles on the PHP Chinese website!