Home > Backend Development > PHP Tutorial > 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
Release: 2016-07-30 13:29:53
Original
1213 people have browsed it
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.

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template