Home  >  Article  >  Backend Development  >  What should I do if the php runtime cannot be written?

What should I do if the php runtime cannot be written?

藏色散人
藏色散人Original
2021-05-10 09:15:592083browse

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.

What should I do if the php runtime cannot be written?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn