Home  >  Article  >  Backend Development  >  ThinkPHP framework error: The project directory is not writable and the directory cannot be automatically generated! Please use the project generator or manually generate the project directory~

ThinkPHP framework error: The project directory is not writable and the directory cannot be automatically generated! Please use the project generator or manually generate the project directory~

WBOY
WBOYOriginal
2016-07-30 13:29:531207browse
The project directory is not writable and the directory cannot be automatically generated!

Please use the project generator or manually generate the project directory~

The reason is very simple, because the directory where the project is located does not have write permission, usually:

drwxr-xr-x

Just sudo chmod a+w ./mulu to give everyone write permission for this directory

It becomes:

drwxrwxrwx

Then the error disappears~~

The above introduces the ThinkPHP framework error: The project directory is not writable and the directory cannot be automatically generated! Please use the project generator or manually generate the project directory ~, including the relevant content, I hope it will be helpful to friends who are interested in PHP tutorials.

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