Answers for "setup laravel on ubuntu"

0

install laravel globally ubuntu

composer global require "laravel/installer"
Posted by: Guest on May-01-2021
1

what are the ubuntu packages required for laravel to be installed

sudo apt install php7.2-common php7.2-cli php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-mbstring php7.2-bcmath php7.2-imap php7.2-xml php7.2-zip
Posted by: Guest on September-01-2020
1

laravel apache2

# Laravel includes a public/.htaccess file that is used to 
# provide URLs without the index.php front controller in the 
# path. Before serving Laravel with Apache, be sure to enable 
# the mod_rewrite module so the .htaccess file will be honored 
# by the server.

# If the .htaccess file that ships with Laravel does not work 
# with your Apache installation, try this alternative:

Options +FollowSymLinks -Indexes
RewriteEngine On

RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Posted by: Guest on May-04-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language