How to install Laravel on lampp (XAMPP) Linux

This section is for our team to post helpful articles. Let us know if you'd like to contribute!
arifur
Site Admin
Posts: 122
Joined: Tue Nov 15, 2011 5:12 pm

How to install Laravel on lampp (XAMPP) Linux

Post by arifur » Tue Mar 19, 2019 5:28 am

  • Install lampp (xampp)
  • Create an environment variable export PATH=$PATH:/opt/lampp/bin
  • Download Composer for you PHP version sudo curl -s https://getcomposer.org/installer | /opt/lampp/bin/php
  • Move composer.phar to /opt/lampp/bin/
  • Now you will be able to use composer by using this command composer.phar
  • You can also rename composer.phar to composer if you want

Return to “Linux Howtos”

Who is online

Users browsing this forum: No registered users and 17 guests