{"id":654,"date":"2021-05-17T16:07:23","date_gmt":"2021-05-17T10:37:23","guid":{"rendered":"http:\/\/192.168.0.6\/linuxbots\/?p=654"},"modified":"2021-05-17T16:07:25","modified_gmt":"2021-05-17T10:37:25","slug":"install-laravel-on-ubuntu-16-04-with-apache","status":"publish","type":"post","link":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/","title":{"rendered":"Install Laravel on Ubuntu 16.04 with Apache"},"content":{"rendered":"\n<p>In this tutorial, we will explain how to install and run the latest stable version of the Laravel 6.0 PHP Framework on Ubuntu 16.04 LTS (Long Term Support) with Apache2 and PHP 7.4 support.<\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\"Laravel (opens in a new tab)\" href=\"https:\/\/laravel.com\/\" target=\"_blank\">Laravel<\/a> is a lightweight and flexible open-source PHP framework solution with an MVC (Model-View-Controller) design structure. Laravel certainly focuses on building scalable and flexible web applications with ease. In addition, it has in-built features like caching, authentication, session management, routing, and unit testing. As a result, it becomes the first choice of many PHP developers.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d7f6bcb1c38\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d7f6bcb1c38\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#Install_PHP_74_with_required_Extensions\" >Install PHP 7.4 with required Extensions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#Install_Composer\" >Install Composer<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#Install_Laravel_60_LTS\" >Install Laravel 6.0 LTS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#Configure_Apache_for_Laravel\" >Configure Apache for Laravel<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Above all, An installed instance of Ubuntu 16.04 LTS is required with a privileged user for installation.<\/p>\n\n\n\n<p>After that, Update your system sources and existing software packages using the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get upgrade<\/code><\/pre>\n\n\n\n<p>On the other hand, the following components are needed for Laravel 6.0 LTS.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>PHP &gt;= 7.2.0<\/li><li>BCMath PHP Extension<\/li><li>Ctype PHP Extension<\/li><li>JSON PHP Extension<\/li><li>Mbstring PHP Extension<\/li><li>OpenSSL PHP Extension<\/li><li>PDO PHP Extension<\/li><li>Tokenizer PHP Extension<\/li><li>XML PHP Extension<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_PHP_74_with_required_Extensions\"><\/span>Install PHP 7.4 with required Extensions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>PHP 7.4 is the latest stable version of PHP released on 28 November 2019. But the default repository of Ubuntu 16 is not providing packages for PHP7.4. So, Add the Ondrej PHP repository to <a rel=\"noreferrer noopener\" label=\"install PHP 7.4 in Ubuntu (opens in a new tab)\" href=\"https:\/\/oracle.itsupportwale.com\/blog\/install-php-in-ubuntu-18-04\/\" target=\"_blank\">install PHP 7.4 in Ubuntu<\/a> by using the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt -y install software-properties-common\nsudo add-apt-repository ppa:ondrej\/php\nsudo apt-get update &amp;&amp; apt-get upgrade<\/code><\/pre>\n\n\n\n<p>After that, install PHP 7.4 using the below command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get -y install php7.4<\/code><\/pre>\n\n\n\n<p>Now, install the additional required PHP Extensions by using the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get -y install libapache2-mod-php7.4 php7.4-bcmath php7.4-json php7.4-mbstring php7.4-xml zip<\/code><\/pre>\n\n\n\n<p>Meanwhile, when you install PHP packages the Apache webserver packages are installed with them automatically. You can verify that PHP and Apache are installed by using the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo php -v\nsudo service apache2 status<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Composer\"><\/span>Install Composer<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\"Composer (opens in a new tab)\" href=\"https:\/\/getcomposer.org\/\" target=\"_blank\">Composer<\/a> a dependency manager tool for PHP like node&#8217;s npm and ruby&#8217;s bundler. We will use it to download and install the Laravel Core and all the required Laravel components.<\/p>\n\n\n\n<p>For download and install the latest version of Composer in Ubuntu 16.04 LTS run the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -sS https:\/\/getcomposer.org\/installer | sudo php -- --install-dir=\/usr\/bin --filename=composer<\/code><\/pre>\n\n\n\n<p>To verify the install of the composer run the below command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer -V<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">Output:\n Composer version 1.9.2 2020-01-14 16:30:31<\/pre>\n\n\n\n<p>Now we have composer installed. So let&#8217;s move to install Laravel 6.0 LTS on our Ubuntu 16.04 LTS Server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Laravel_60_LTS\"><\/span>Install Laravel 6.0 LTS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now navigate to <code>\/var\/www\/html<\/code> directory, which is the public HTML directory for Apache in Ubuntu.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/html<\/code><\/pre>\n\n\n\n<p>To install Laravel 6.0 LTS using Composer run the create-project command described below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer create-project laravel\/laravel=\"6.0\" my_webapp<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/install-laravel-on-ubuntu-16-1024x576.jpg\" alt=\"\" class=\"wp-image-3556\" srcset=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/install-laravel-on-ubuntu-16-1024x576.jpg 1024w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/install-laravel-on-ubuntu-16-300x169.jpg 300w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/install-laravel-on-ubuntu-16-768x432.jpg 768w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/install-laravel-on-ubuntu-16-495x279.jpg 495w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/install-laravel-on-ubuntu-16.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Install Laravel on Ubuntu 16<\/figcaption><\/figure>\n\n\n\n<p>For testing, you can run it in development mode by navigating to the project directory and then run the below command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd my_webapp\nphp artisan serve<\/code><\/pre>\n\n\n\n<p>You can see output like the below image.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/start-laravel-in-development-mode.jpg\" alt=\"start-laravel-in-development-mode\" class=\"wp-image-722\"\/><figcaption>Starting Laravel Development Server<\/figcaption><\/figure>\n\n\n\n<p>When you navigate to the URL you can see the below Laravel welcome page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"574\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/laravel-6.0-welcome-page-1024x574.jpg\" alt=\"\" class=\"wp-image-3557\" srcset=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/laravel-6.0-welcome-page-1024x574.jpg 1024w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/laravel-6.0-welcome-page-300x168.jpg 300w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/laravel-6.0-welcome-page-768x431.jpg 768w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/05\/laravel-6.0-welcome-page.jpg 1027w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Laravel Welcome Page<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Configure_Apache_for_Laravel\"><\/span>Configure Apache for Laravel<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After installing Laravel, now we configure apache for serving Laravel.<\/p>\n\n\n\n<p>Above all, give the appropriate permissions to the project folder by using the below commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo chown -R www-data:www-data \/var\/www\/html\/my_webapp\nsudo chmod -R 755 \/var\/www\/html\/my_webapp\nsudo chmod -R 775 \/var\/www\/html\/my_webapp\/storage<\/code><\/pre>\n\n\n\n<p>In the above commands, replace <code>my_webapp<\/code> with the name of your project directory.<\/p>\n\n\n\n<p>After that, edit apache&#8217;s default site configuration to server our project directory. First of all, open the default site configuration of apache server.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vim \/etc\/apache2\/sites-available\/000-default.conf<\/code><\/pre>\n\n\n\n<p>And then, replace <strong><code>\/var\/www\/html<\/code><\/strong> with <strong><code>\/var\/www\/html\/my_webapp\/public<\/code><\/strong> and then save the config file. After that reload the apache server by using the below command to apply the changes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/edit-apache-site-config-for-laravel-6.jpg\" alt=\"\" class=\"wp-image-730\"\/><figcaption>Laravel-6-Apache-site-config-example<\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo service apache2 reload<\/code><\/pre>\n\n\n\n<p>Visit <strong><code>http:\/\/my_server_ip\/<\/code><\/strong> for verifying changes. Replace the my_server_ip with your Ubuntu machine&#8217;s IP address.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/laravel-6-welcome-page-on-apache.jpg\" alt=\"\" class=\"wp-image-731\"\/><figcaption>Laravel 6 on Apache<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>As a result, we have successfully installed and configure Laravel 6.0  LTS on Ubuntu 16.04 LTS with PHP 7.4 and Apache.<\/p>\n\n\n\n<p>You can leave a comment below if have any questions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will explain how to install and run the latest stable version of the Laravel 6.0 PHP Framework on Ubuntu 16.04 LTS (Long Term Support) with Apache2 and PHP 7.4 support. Laravel is a lightweight and flexible open-source PHP framework solution with an MVC (Model-View-Controller) design structure. Laravel certainly focuses on building &#8230; <a title=\"Install Laravel on Ubuntu 16.04 with Apache\" class=\"read-more\" href=\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/\" aria-label=\"Read more  on Install Laravel on Ubuntu 16.04 with Apache\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":3559,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[498,508,501],"tags":[512,517,520,525,526,527,532,8,248],"class_list":["post-654","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-foss","category-laravel","category-php-framework","tag-apache","tag-composer-install-laravel","tag-download-laravel","tag-install-laravel","tag-install-laravel-composer","tag-install-laravel-framework","tag-laravel-install","tag-ubuntu","tag-ubuntu-16-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install Laravel on Ubuntu 16.04 with Apache - ITSupportWale<\/title>\n<meta name=\"description\" content=\"Install and run the latest stable version of the Laravel 6.0 PHP Framework on Ubuntu 16.04 LTS (Long Term Support) with Apache2 and PHP 7.4 support.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Laravel on Ubuntu 16.04 with Apache - ITSupportWale\" \/>\n<meta property=\"og:description\" content=\"Install and run the latest stable version of the Laravel 6.0 PHP Framework on Ubuntu 16.04 LTS (Long Term Support) with Apache2 and PHP 7.4 support.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/\" \/>\n<meta property=\"og:site_name\" content=\"ITSupportWale\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Itsupportwale-298547177495978\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-17T10:37:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-17T10:37:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"981\" \/>\n\t<meta property=\"og:image:height\" content=\"515\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Techie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Techie\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/\"},\"author\":{\"name\":\"Techie\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d\"},\"headline\":\"Install Laravel on Ubuntu 16.04 with Apache\",\"datePublished\":\"2021-05-17T10:37:23+00:00\",\"dateModified\":\"2021-05-17T10:37:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/\"},\"wordCount\":556,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg\",\"keywords\":[\"apache\",\"composer install laravel\",\"download laravel\",\"install laravel\",\"install laravel composer\",\"install laravel framework\",\"laravel install\",\"ubuntu\",\"ubuntu 16.04\"],\"articleSection\":[\"FOSS\",\"Laravel\",\"PHP Framework\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/\",\"url\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/\",\"name\":\"Install Laravel on Ubuntu 16.04 with Apache - ITSupportWale\",\"isPartOf\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg\",\"datePublished\":\"2021-05-17T10:37:23+00:00\",\"dateModified\":\"2021-05-17T10:37:25+00:00\",\"description\":\"Install and run the latest stable version of the Laravel 6.0 PHP Framework on Ubuntu 16.04 LTS (Long Term Support) with Apache2 and PHP 7.4 support.\",\"breadcrumb\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#primaryimage\",\"url\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg\",\"contentUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg\",\"width\":981,\"height\":515,\"caption\":\"Install-laravel-6-on-Ubuntu-16.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/itsupportwale.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Laravel on Ubuntu 16.04 with Apache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#website\",\"url\":\"https:\/\/itsupportwale.com\/blog\/\",\"name\":\"ITSupportWale\",\"description\":\"Tips, Tricks, Fixed-Errors, Tutorials &amp; Guides\",\"publisher\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/itsupportwale.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#organization\",\"name\":\"itsupportwale\",\"url\":\"https:\/\/itsupportwale.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png\",\"contentUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png\",\"width\":1119,\"height\":144,\"caption\":\"itsupportwale\"},\"image\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Itsupportwale-298547177495978\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d\",\"name\":\"Techie\",\"sameAs\":[\"https:\/\/itsupportwale.com\",\"iswblogadmin\"],\"url\":\"https:\/\/itsupportwale.com\/blog\/author\/iswblogadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Laravel on Ubuntu 16.04 with Apache - ITSupportWale","description":"Install and run the latest stable version of the Laravel 6.0 PHP Framework on Ubuntu 16.04 LTS (Long Term Support) with Apache2 and PHP 7.4 support.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/","og_locale":"en_US","og_type":"article","og_title":"Install Laravel on Ubuntu 16.04 with Apache - ITSupportWale","og_description":"Install and run the latest stable version of the Laravel 6.0 PHP Framework on Ubuntu 16.04 LTS (Long Term Support) with Apache2 and PHP 7.4 support.","og_url":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/","og_site_name":"ITSupportWale","article_publisher":"https:\/\/www.facebook.com\/Itsupportwale-298547177495978","article_published_time":"2021-05-17T10:37:23+00:00","article_modified_time":"2021-05-17T10:37:25+00:00","og_image":[{"width":981,"height":515,"url":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg","type":"image\/jpeg"}],"author":"Techie","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Techie","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#article","isPartOf":{"@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/"},"author":{"name":"Techie","@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d"},"headline":"Install Laravel on Ubuntu 16.04 with Apache","datePublished":"2021-05-17T10:37:23+00:00","dateModified":"2021-05-17T10:37:25+00:00","mainEntityOfPage":{"@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/"},"wordCount":556,"commentCount":0,"publisher":{"@id":"https:\/\/itsupportwale.com\/blog\/#organization"},"image":{"@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg","keywords":["apache","composer install laravel","download laravel","install laravel","install laravel composer","install laravel framework","laravel install","ubuntu","ubuntu 16.04"],"articleSection":["FOSS","Laravel","PHP Framework"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/","url":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/","name":"Install Laravel on Ubuntu 16.04 with Apache - ITSupportWale","isPartOf":{"@id":"https:\/\/itsupportwale.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#primaryimage"},"image":{"@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg","datePublished":"2021-05-17T10:37:23+00:00","dateModified":"2021-05-17T10:37:25+00:00","description":"Install and run the latest stable version of the Laravel 6.0 PHP Framework on Ubuntu 16.04 LTS (Long Term Support) with Apache2 and PHP 7.4 support.","breadcrumb":{"@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#primaryimage","url":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg","contentUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2020\/02\/Install-laravel-6-on-Ubuntu-16.04-1.jpg","width":981,"height":515,"caption":"Install-laravel-6-on-Ubuntu-16.04"},{"@type":"BreadcrumbList","@id":"https:\/\/itsupportwale.com\/blog\/install-laravel-on-ubuntu-16-04-with-apache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/itsupportwale.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Laravel on Ubuntu 16.04 with Apache"}]},{"@type":"WebSite","@id":"https:\/\/itsupportwale.com\/blog\/#website","url":"https:\/\/itsupportwale.com\/blog\/","name":"ITSupportWale","description":"Tips, Tricks, Fixed-Errors, Tutorials &amp; Guides","publisher":{"@id":"https:\/\/itsupportwale.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/itsupportwale.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/itsupportwale.com\/blog\/#organization","name":"itsupportwale","url":"https:\/\/itsupportwale.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png","contentUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png","width":1119,"height":144,"caption":"itsupportwale"},"image":{"@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Itsupportwale-298547177495978"]},{"@type":"Person","@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d","name":"Techie","sameAs":["https:\/\/itsupportwale.com","iswblogadmin"],"url":"https:\/\/itsupportwale.com\/blog\/author\/iswblogadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts\/654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/comments?post=654"}],"version-history":[{"count":0,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts\/654\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/media\/3559"}],"wp:attachment":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/media?parent=654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/categories?post=654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/tags?post=654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}