Under a thinkphp framework, when the initialization runs, it prompts me
The./application directory is not writable and cannot be generated automatically, so ls-l view the permissions below
Localhost:blog ya$ ls-ltotal 16[email protected] 5 YA staff 6-13:22 application[email protected] 4 ya Staff 136 6 13:23 Public[email protected] 1 ya staff 408 6 1 11:20 thinkphp[email protected 15:47 composer.json[email protected] 1 ya staff 1034 1 15:47 index.php
Because it is a local test, regardless of permissions, directly assign the highest permission to avoid any further error
Localhost:blog ya$ chmod-r 777/applications/xampp/xamppfiles/htdocs/bloglocalhost:blog ya$ ls-ltotal 16[email Protected] 5 YA staff 6-13:22 application[email protected] 4 YA staff 136 6 13:23 Public[email Protect ed] Ya staff 408 6 11:20 thinkphp[email protected] 1 YA staff 434 1 15:47 composer.json[email protected] 1 Ya staff 1034 1 15:47 index.phplocalhost:blog ya$
Mac thinkphp Run permissions issues