简体   繁体   中英

Installing Laravel 5.0

How to install Laravel5.0, apache, mysql and php5.4 on Ubuntu? thank you

This should fix all permissions problems between apache2 user and your current ubuntu user.

  1. Add your current user to group www-data (the default apache2 user):

sudo adduser <username> www-data

  1. Change ownership of project's directory (usually /var/www ):

sudo chown -R www-data:www-data /var/www

  1. Change group permissions:

sudo chmod -R g+rwX /var/www

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM