Mac thinkphp Run permissions issues

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.