You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. After I do everything it says when I execute: Restart Apache with the Xampp panel Now visit ot htttp://laravel.test:8080 on Mac I get server not found error. any update? I am also having issue using this gist to setup Laravel. I cannot find the htdocs directory anywhere on XAMPP for Mac. On Sat, at 5:10 PM rishisriv > wrote: commented on this gist. You are receiving this because you commented.Message ID: worked for me too any update? I am also having issue using this gist to setup Laravel. Using this method the root is c:\xampp\htdocs\laragigs and you should be able to follow along with Brad's tutorial, as I was, without having to change any config files etc. What I did instead was use the artisan server: First I opened up a terminal (I didn't use VS Code for this - just cmd as I'm in Windows) Then I navigated to c:\xampp\htdocs\laragigs in that terminal (cd c:\xampp\htdocs\laragigs) Finally I entered: php artisan serve (and Enter) You should see a message: Starting Laravel development server: (at least for me the port was 8000) In your browser type (or whatever your port was other than 8000) as the url and you should be on your way. I think what was meant was: rather than but that also didn't work for me. Remove the # from the beginning of this line #Include etc/extra/nf Now visit ot htttp://laravel.test:8080 on Mac If it does not work, make sure virtual hosts file is enabled in nf Mac - /opt/lampp/etc/extra/nfĭocumentRoot /opt/lampp/htdocs/PROJECT_NAME/public.My XAMPP version is 5.6. I installed XAMPP for Windows which works fine but it is not working for my Mac OS Sierra. Windows - C:/xampp/apache/conf/extra/nfĭocumentRoot "C:/xampp/htdocs/PROJECT_NAME/public" Theres a lot of documentation on this but my troubleshooting has failed.Windows - C:/Windows/System32/drivers/etc/hosts.We now need to create a virtual host for our project Edit Hosts File htdocs is where all of your local projects go.Ĭomposer create-project -prefer-dist laravel/laravel PROJECT_NAME You can also install composer with HomebrewĬreate a New Laravel Project With Composer Then copy the mv command and run in terminal. On Mac, copy the php commands and run in the terminal.On Windows, download and run the installer.Click "Explore" on the location tab to open your Xampp/Lampp folder
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |