Virtual Host en xampp 7.4.5 para proyectos en Laravel 5.7

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Virtual Host en xampp 7.4.5 para proyectos en Laravel 5.7

Postby Lcdojosefrugone » 01. May 2020 17:17

Dear members of the xampp apache community, Good morning !; Mr. José Fernando Frugone Jaramillo from Ecuador (Guayaquil) greets you, Blessings to all !; I would like you to help me with a query that I am going to ask you: I have developed a laravel 5.7 project, of which I have developed it completely in this php framework, it is in the directory c: \ xampp \ htdocs \ proyectolaravel, of which I base myself on the laravel documentation at the following link https://laravel.com/docs/5.7 and to open my project I have installed a software called "Visual Studio Code" on my computer; from the Visual Studio Code command terminal the command to execute laravel projects is php artisan serve, the address it gives is http://127.0.0.1:8000 my question is the following, in the file "C: \ xampp \ apache \ conf \ extra \ httpd-vhosts.conf "I have specified the following code for my laravel project
Code: Select all
  <VirtualHost *: 80>
    ServerAdmin laravel.dev
    DocumentRoot "C: / xampp / htdocs / proyectolaravel / public"
    <Directory "C: / xampp / htdocs / proyectolaravel / public">
       Options Indexes FollowSymLinks
       AllowOverride All
       Require all granted
    </Directory>
</VirtualHost>


How should the code be created or specified in Virtual Host so that in the Google Chrome navigation bar it runs at the address 127.0.0.1:8000 which is when a laravel project is run with php artisan serve?

:D
Lcdojosefrugone
 
Posts: 1
Joined: 01. May 2020 16:54
Location: Ecuador
XAMPP version: 7.4.5
Operating System: Windows 7 Ultimate de 64 bits

Re: Virtual Host en xampp 7.4.5 para proyectos en Laravel 5.

Postby Nobbie » 02. May 2020 09:29

Sorry, i neither know anything about artisan nor laravel. I have no clue what you are going to do.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Virtual Host en xampp 7.4.5 para proyectos en Laravel 5.

Postby Altrea » 02. May 2020 11:53

There are many many whitespaces in your configurations I wouldn't expect. Is that your true configuration?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 95 guests