-1

I am new to laravel, I have installed the laravel on my local server(Xampp) with composer. I have a small project that is build in the laravel now I am getting trouble to run that project on the xampp. Thanx in advance

HKumar
  • 1,198
  • 2
  • 9
  • 25
  • Could you be specific about the problem? – Jeemusu Jul 10 '15 at 07:41
  • For simple php we just copy and paste the project folder to htdocs and than we set the database configuration file, and it works. But in laravel I dont know how to run it on http://localhost/larave/ – HKumar Jul 10 '15 at 07:44

1 Answers1

0

Just point your folder in apache.conf to your laravel public folder and you will be able to run your project in windows. Follow this guide to do so:

How do I change the root directory of an apache server?

Please read the docs about the installation for any other problems you may have.

http://laravel.com/docs/5.1/installation

Community
  • 1
  • 1
Filipe Ferreira
  • 318
  • 2
  • 21
  • Pointing the document root will not affect the other projects?? – HKumar Jul 10 '15 at 07:52
  • Yes but you can create a new site for example localhost2 will point to the project. If you only working on laravel then you shouldn't wurry about it you can always change it latter if you need. – Filipe Ferreira Jul 10 '15 at 07:53