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!
Post Reply
arifur
Site Admin
Posts: 123
Joined: Tue Nov 15, 2011 5:12 pm

How to install Laravel on lampp (XAMPP) Linux

Post by arifur »

  • 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

Post Reply

Return to “Linux Howtos”