ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. laravel
    Log in to post
    • All categories
    • scottalanmillerS

      Nginx Configuration for PHP Laravel & ReactJS in Single Site

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion php nginx laravel reactjs linux
      2
      1 Votes
      2 Posts
      371 Views
      scottalanmillerS

      Some assumptions here. First, only configured for port 80, make sure you address TLS somehow (another proxy in front of this or add config here.)

      You have a single folder /var/www/myapp in which you have myfrontend containing your ReactJS application and myapi that contains your Laravel application.

      Tested with Nginx on Linux.

    • scottalanmillerS

      Installing Laravel on Ubuntu 20.04

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux php php 7.4 ubuntu laravel ubuntu 20.04
      28
      3 Votes
      28 Posts
      4k Views
      1

      @scottalanmiller said in Installing Laravel on Ubuntu 20.04:

      @Pete-S said in Installing Laravel on Ubuntu 20.04:

      @Pete-S said in Installing Laravel on Ubuntu 20.04:

      @scottalanmiller said in Installing Laravel on Ubuntu 20.04:

      @Pete-S said in Installing Laravel on Ubuntu 20.04:

      OK, if you are not running apache or nginx, you should install the php-cli package instead.

      So that seems to get installed anyway as a dependency on its own.

      Yes, it does. But by using the php package and not php-cli, you probably got apache installed on your system as well - by dependencies.

      You could find out by running: apt list --installed | grep apache

      Or systemctl status apache2 to see if it's running.

      Even if it was, Laravel uses Artisan's server.

      I'm guessing they are invoking php's built-in webserver.

      Regardless, the point is that if you swap php to php-cli in your install guide you don't get apache and other stuff you don't need.

    • Reid CooperR

      Learning Laravel Resources

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion php laravel
      4
      2 Votes
      4 Posts
      852 Views
      jmooreJ

      Thanks I will check this out

    • AmbarishrhA

      Laravel Homestead

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion laravel homestead php
      4
      1 Votes
      4 Posts
      2k Views
      RojoLocoR

      You mean it's not a prefab, disposable housing solution for the homeless? (what else would you think when you heard "vagrant box"?)

    • 1 / 1