• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[Solved] Cara Install Laravel di Easyengine

Kepala Suku

Web & Mobile Developer
Staff member
#1
  • Buka SSH
  • sudo apt-get install php-cli php-mbstring php7.0-mbstring php-xml php7.0-xml
  • Install composer / caranya bisa lihat disini
  • sudo ee site create example.com --mysql
  • cd /var/www/example.com (ganti exemple dengan domain anda)
  • sudo rm -rf htdocs (menghapus folder htdocs)
  • sudo composer create-project --prefer-dist laravel/laravel htdocs
  • sudo chown -R www-data:www-data htdocs
  • buka /etc/nginx/sites-available domain.com ganti root /var/www/example.com/htdocs menjadi root /var/www/example.com/htdocs/public