{"id":1770,"date":"2022-12-30T12:30:00","date_gmt":"2022-12-30T18:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1770"},"modified":"2023-08-29T09:07:28","modified_gmt":"2023-08-29T14:07:28","slug":"how-to-install-laravel-on-almalinux","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/","title":{"rendered":"How to Install Laravel on AlmaLinux"},"content":{"rendered":"\n<p>In this tutorial, we will show you in detail how to install Laravel on AlmaLinux OS.<\/p>\n\n\n\n<p>Laravel is an open-source web framework written in PHP. Today many websites are made in this framework supported by its large community that is growing on a daily basis. Laravel is Symfony based and follows the MVC architectural pattern. We have many posts about this, but this time we will install it using the LAMP stack on the latest AlmaLinux 9 distribution.<\/p>\n\n\n\n<p>Installing Laravel on <a href=\"https:\/\/www.linuxcloudvps.com\/blog\/why-almalinux-is-a-good-choice-as-a-web-server-os\/\" title=\"\">AlmaLinux<\/a> is a straightforward process that may take up to 15 minutes. Let&#8217;s get things working!<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A server with AlmaLinux 20.04 as OS and a Minimum 4GB of RAM<\/li>\n\n\n\n<li>Valid domain pointed to the servers IP address<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1. Update the System<\/h2>\n\n\n\n<p>Before starting the installation process, it is necessary to update the system packages to the latest available version.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf update -y &amp;&amp; sudo dnf upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2. Install Apache<\/h2>\n\n\n\n<p>We will install the Apache Web server and configure it later for the Laravel website to be accessible via domain name. To install the Apache Web server execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf install httpd -y<\/pre>\n\n\n\n<p>Once installed, start and enable the service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl enable httpd &amp;&amp; sudo systemctl start httpd<\/pre>\n\n\n\n<p>Check if the service is up and running:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status httpd<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@host ~]# sudo systemctl status httpd\n\u25cf httpd.service - The Apache HTTP Server\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/httpd.service; enabled; vendor preset: disabled)\n     Active: active (running) since Wed 2022-11-16 04:58:49 CST; 6h ago\n       Docs: man:httpd.service(8)\n   Main PID: 566 (httpd)\n     Status: \"Total requests: 153; Idle\/Busy workers 100\/0;Requests\/sec: 0.00681; Bytes served\/sec:  20 B\/sec\"\n      Tasks: 213 (limit: 24833)\n     Memory: 40.0M\n        CPU: 17.460s\n     CGroup: \/system.slice\/httpd.service\n             \u251c\u2500566 \/usr\/sbin\/httpd -DFOREGROUND\n             \u251c\u2500588 \/usr\/sbin\/httpd -DFOREGROUND\n             \u251c\u2500589 \/usr\/sbin\/httpd -DFOREGROUND\n             \u251c\u2500591 \/usr\/sbin\/httpd -DFOREGROUND\n             \u2514\u2500592 \/usr\/sbin\/httpd -DFOREGROUND\n\nNov 16 04:58:49 host.test.vps systemd[1]: Starting The Apache HTTP Server...\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3. Install PHP8.0 with extensions<\/h2>\n\n\n\n<p>PHP must be installed on the server since Laravel is a PHP Framework. The repository for PHP8.0 is default added to the latest AlmaLinux 9 OS distribution. We need to execute the following line of commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf install php php-cli php-fpm php-curl php-mysqlnd php-gd php-opcache php-zip php-intl php-common php-bcmath php-json php-readline php-mbstring php-apcu php-xml php-dom -y<\/pre>\n\n\n\n<p>Once installed, check the PHP version by executing the <strong>php -v<\/strong> on your command line.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@host ~]# php -v\nPHP 8.0.13 (cli) (built: Nov 16 2021 18:07:21) ( NTS gcc x86_64 )\nCopyright (c) The PHP Group\nZend Engine v4.0.13, Copyright (c) Zend Technologies\n    with Zend OPcache v8.0.13, Copyright (c), by Zend Technologies\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4. Install MySQL database server<\/h2>\n\n\n\n<p>To install the MySQL database server, execute the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf install mysql-server mysql<\/pre>\n\n\n\n<p>Start and enable the mysqld.service with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start mysqld &amp;&amp; sudo systemctl enable mysqld<\/pre>\n\n\n\n<p>Check the status of the mysqld.service<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status mysqld<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@host ~]# sudo systemctl status mysqld\n\u25cf mysqld.service - MySQL 8.0 database server\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mysqld.service; enabled; vendor preset: disabled)\n     Active: active (running) since Wed 2022-11-16 11:44:56 CST; 3s ago\n   Main PID: 2851 (mysqld)\n     Status: \"Server is operational\"\n      Tasks: 39 (limit: 24833)\n     Memory: 456.4M\n        CPU: 8.082s\n     CGroup: \/system.slice\/mysqld.service\n             \u2514\u25002851 \/usr\/libexec\/mysqld --basedir=\/usr\n\nNov 16 11:44:44 host.test.vps systemd[1]: Starting MySQL 8.0 database server...\nNov 16 11:44:44 host.test.vps mysql-prepare-db-dir[2769]: Initializing MySQL database\nNov 16 11:44:56 host.test.vps systemd[1]: Started MySQL 8.0 database server.\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5. Install Composer<\/h2>\n\n\n\n<p>We need to install the Composer, which is required for the installation of all the Laravel components.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -sS https:\/\/getcomposer.org\/installer | php -- --install-dir=\/usr\/bin --filename=composer<\/pre>\n\n\n\n<p>Check the Composer installation:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">composer<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@host ~]# composer\n   ______\n  \/ ____\/___  ____ ___  ____  ____  ________  _____\n \/ \/   \/ __ \\\/ __ `__ \\\/ __ \\\/ __ \\\/ ___\/ _ \\\/ ___\/\n\/ \/___\/ \/_\/ \/ \/ \/ \/ \/ \/ \/_\/ \/ \/_\/ (__  )  __\/ \/\n\\____\/\\____\/_\/ \/_\/ \/_\/ .___\/\\____\/____\/\\___\/_\/\n                    \/_\/\nComposer version 2.4.4 2022-10-27 14:39:29\n\nUsage:\n  command [options] [arguments]\n\nOptions:\n  -h, --help                     Display help for the given command. When no command is given display help for the list command\n  -q, --quiet                    Do not output any message\n  -V, --version                  Display this application version\n      --ansi|--no-ansi           Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction           Do not ask any interactive question\n      --profile                  Display timing and memory usage information\n      --no-plugins               Whether to disable plugins.\n      --no-scripts               Skips the execution of all scripts defined in composer.json file.\n  -d, --working-dir=WORKING-DIR  If specified, use the given directory as working directory.\n      --no-cache                 Prevent use of the cache\n  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6. Install Laravel<\/h2>\n\n\n\n<p>In this blog post, we will use the default apache2 document root:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/var\/www\/html\n\ncomposer create-project laravel\/laravel \"YOUR APPLICATION NAME\"\n<\/pre>\n\n\n\n<p>After successful installation, you should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">81 packages you are using are looking for funding.\nUse the `composer fund` command to find out more!\n&gt; @php artisan vendor:publish --tag=laravel-assets --ansi --force\n\n   INFO  No publishable resources for tag [laravel-assets].\n\nNo security vulnerability advisories found\n&gt; @php artisan key:generate --ansi\n\n   INFO  Application key set successfully.\n\n[root@host html]#\n<\/pre>\n\n\n\n<p>Go into the <strong>project<\/strong> directory and set the correct permissions:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/var\/www\/html\/project\n\nchown -R apache:apache .\n\nchmod -R 775 storage\/\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7. Create Apache Virtual Host File<\/h2>\n\n\n\n<p>We need to create an Apache virtual host configuration file in order to access the Laravel via the domain name:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo nano \/etc\/httpd\/conf.d\/laravel.conf<\/pre>\n\n\n\n<p>Paste the following lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;VirtualHost *:80&gt;\n     ServerName yourdomain.com\n     DocumentRoot \/var\/www\/html\/project\/public\n     &lt;Directory \/var\/www\/html\/project\/public&gt;\n          Options FollowSymlinks\n          AllowOverride All\n          Require all granted\n     &lt;\/Directory&gt;\n\n     ErrorLog \/var\/log\/httpd\/yourdomain.com_error.log\n     CustomLog \/var\/log\/httpd\/yourdomain.com.log combined\n&lt;\/VirtualHost&gt;\n<\/pre>\n\n\n\n<p>Save the file, close it check the syntax of the Apache configuration file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">httpd -t<\/pre>\n\n\n\n<p>You should get this output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@host project]# httpd -t\nSyntax OK\n<\/pre>\n\n\n\n<p>Restart the httpd.service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart httpd<\/pre>\n\n\n\n<p>Now you can access the Laravel installation at <strong>http:\/\/yourdomain.com<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/11\/install-laravel-on-almalinux.webp\" alt=\"install laravel on almalinux\" class=\"wp-image-43592\"\/><\/figure>\n\n\n\n<p>We trust that you found our directions on how to install Laravel on AlmaLinux simple and practical. <\/p>\n\n\n\n<p>Now, we&#8217;d like to get your input. <\/p>\n\n\n\n<p>Is there an aspect you feel we haven&#8217;t covered or a step that&#8217;s unclear and needs more detail? Are there other topics or guides you wish to see from us? <\/p>\n\n\n\n<p>We&#8217;re eager to hear your thoughts. Please leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you in detail how to install Laravel on AlmaLinux OS. Laravel is an open-source web framework written in PHP. Today many websites are made in this framework supported by its large community that is growing on a daily basis. Laravel is Symfony based and follows the MVC architectural pattern. &#8230; <a title=\"How to Install Laravel on AlmaLinux\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/\" aria-label=\"More on How to Install Laravel on AlmaLinux\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1777,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[211,260,13],"tags":[232,168,213],"class_list":["post-1770","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","category-linux","category-tutorials","tag-almalinux","tag-how-to-install","tag-laravel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Laravel on AlmaLinux | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"In this tutorial, we will show you in detail how to install Laravel on AlmaLinux OS. Laravel is an open-source web framework written in PHP. Today many\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Laravel on AlmaLinux | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will show you in detail how to install Laravel on AlmaLinux OS. Laravel is an open-source web framework written in PHP. Today many\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-30T18:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T14:07:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/12\/how-to-install-laravel-on-almalinux.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install Laravel on AlmaLinux\",\"datePublished\":\"2022-12-30T18:30:00+00:00\",\"dateModified\":\"2023-08-29T14:07:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/\"},\"wordCount\":500,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/how-to-install-laravel-on-almalinux.webp\",\"keywords\":[\"almalinux\",\"how to install\",\"laravel\"],\"articleSection\":[\"Laravel\",\"Linux\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/\",\"name\":\"How to Install Laravel on AlmaLinux | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/how-to-install-laravel-on-almalinux.webp\",\"datePublished\":\"2022-12-30T18:30:00+00:00\",\"dateModified\":\"2023-08-29T14:07:28+00:00\",\"description\":\"In this tutorial, we will show you in detail how to install Laravel on AlmaLinux OS. Laravel is an open-source web framework written in PHP. Today many\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/how-to-install-laravel-on-almalinux.webp\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/how-to-install-laravel-on-almalinux.webp\",\"width\":742,\"height\":372,\"caption\":\"how to install laravel on almalinux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-laravel-on-almalinux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Laravel on AlmaLinux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Laravel on AlmaLinux | LinuxCloudVPS Blog","description":"In this tutorial, we will show you in detail how to install Laravel on AlmaLinux OS. Laravel is an open-source web framework written in PHP. Today many","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:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Laravel on AlmaLinux | LinuxCloudVPS Blog","og_description":"In this tutorial, we will show you in detail how to install Laravel on AlmaLinux OS. Laravel is an open-source web framework written in PHP. Today many","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2022-12-30T18:30:00+00:00","article_modified_time":"2023-08-29T14:07:28+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/12\/how-to-install-laravel-on-almalinux.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install Laravel on AlmaLinux","datePublished":"2022-12-30T18:30:00+00:00","dateModified":"2023-08-29T14:07:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/"},"wordCount":500,"commentCount":1,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/12\/how-to-install-laravel-on-almalinux.webp","keywords":["almalinux","how to install","laravel"],"articleSection":["Laravel","Linux","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/","name":"How to Install Laravel on AlmaLinux | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/12\/how-to-install-laravel-on-almalinux.webp","datePublished":"2022-12-30T18:30:00+00:00","dateModified":"2023-08-29T14:07:28+00:00","description":"In this tutorial, we will show you in detail how to install Laravel on AlmaLinux OS. Laravel is an open-source web framework written in PHP. Today many","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/12\/how-to-install-laravel-on-almalinux.webp","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2022\/12\/how-to-install-laravel-on-almalinux.webp","width":742,"height":372,"caption":"how to install laravel on almalinux"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-laravel-on-almalinux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Laravel on AlmaLinux"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1770"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1770\/revisions"}],"predecessor-version":[{"id":1951,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1770\/revisions\/1951"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1777"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}