Home >Backend Development >PHP Tutorial >linux - centos6.5 nginx thinkphp encounters the problem that the directory is not writable

linux - centos6.5 nginx thinkphp encounters the problem that the directory is not writable

WBOY
WBOYOriginal
2016-08-04 09:20:301591browse

nginx 1.10.1
centos 6.5
php 5.3.3
thinkphp 3.2.3

The vagrant virtual machine is used, the www directory is given to the user vagrant, and nginx is also started with the vagrant user.

Problems:
The application directory [./Application/] is not writable and the directory cannot be automatically generated!
Please generate the project directory manually~

Please give me the answer...

linux - centos6.5 nginx thinkphp encounters the problem that the directory is not writable

I don’t know why the permissions of the myblog folder are different from others...it contains ThinkPHP

Reply content:

nginx 1.10.1
centos 6.5
php 5.3.3
thinkphp 3.2.3

The vagrant virtual machine is used, the www directory is given to the user vagrant, and nginx is also started with the vagrant user.

Problems:
The application directory [./Application/] is not writable and the directory cannot be automatically generated!
Please generate the project directory manually~

Please give me some answers...

linux - centos6.5 nginx thinkphp encounters the problem that the directory is not writable

I don’t know why the permissions of the myblog folder are different from others...it contains ThinkPHP

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