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

      Installing Laravel on Ubuntu 20.04

      IT Discussion
      • linux php php 7.4 ubuntu laravel ubuntu 20.04 • • scottalanmiller
      28
      3
      Votes
      28
      Posts
      2.3k
      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

      Developer Discussion
      • php laravel • • Reid Cooper
      4
      2
      Votes
      4
      Posts
      677
      Views

      jmooreJ

      Thanks I will check this out

    • AmbarishrhA

      Laravel Homestead

      Developer Discussion
      • laravel homestead php • • Ambarishrh
      4
      1
      Votes
      4
      Posts
      1.4k
      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