Thinkphp prompts mkdir() Permission denied error solution

Thinkphp prompts mkdir() Permission denied error solution

first step

Update runtime permissions to 777
insert image description here

second step

Change the target address in the code to

ROOT_PATH

Do not choose the address directly

The following is a complete upload interface code

insert image description here

Guess you like

Origin blog.csdn.net/qq_36678880/article/details/125607344